|
7 | 7 | msgstr "" |
8 | 8 | "Project-Id-Version: Python 3.12\n" |
9 | 9 | "Report-Msgid-Bugs-To: \n" |
10 | | -"POT-Creation-Date: 2023-09-18 19:05+0000\n" |
| 10 | +"POT-Creation-Date: 2024-08-01 00:19+0000\n" |
11 | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
12 | 12 | "Last-Translator: \n" |
13 | 13 | "Language-Team: TURKISH <python.docs.tr@gmail.com>\n" |
@@ -44,117 +44,135 @@ msgid "" |
44 | 44 | "The C structure which corresponds to the value portion of a Python complex " |
45 | 45 | "number object. Most of the functions for dealing with complex number " |
46 | 46 | "objects use structures of this type as input or output values, as " |
47 | | -"appropriate. It is defined as::" |
| 47 | +"appropriate." |
48 | 48 | msgstr "" |
49 | 49 |
|
50 | | -#: c-api/complex.rst:39 |
| 50 | +#: c-api/complex.rst:33 |
| 51 | +msgid "The structure is defined as::" |
| 52 | +msgstr "" |
| 53 | + |
| 54 | +#: c-api/complex.rst:43 |
51 | 55 | msgid "" |
52 | 56 | "Return the sum of two complex numbers, using the C :c:type:`Py_complex` " |
53 | 57 | "representation." |
54 | 58 | msgstr "" |
55 | 59 |
|
56 | | -#: c-api/complex.rst:45 |
| 60 | +#: c-api/complex.rst:49 |
57 | 61 | msgid "" |
58 | 62 | "Return the difference between two complex numbers, using the C :c:type:" |
59 | 63 | "`Py_complex` representation." |
60 | 64 | msgstr "" |
61 | 65 |
|
62 | | -#: c-api/complex.rst:51 |
| 66 | +#: c-api/complex.rst:55 |
63 | 67 | msgid "" |
64 | 68 | "Return the negation of the complex number *num*, using the C :c:type:" |
65 | 69 | "`Py_complex` representation." |
66 | 70 | msgstr "" |
67 | 71 |
|
68 | | -#: c-api/complex.rst:57 |
| 72 | +#: c-api/complex.rst:61 |
69 | 73 | msgid "" |
70 | 74 | "Return the product of two complex numbers, using the C :c:type:`Py_complex` " |
71 | 75 | "representation." |
72 | 76 | msgstr "" |
73 | 77 |
|
74 | | -#: c-api/complex.rst:63 |
| 78 | +#: c-api/complex.rst:67 |
75 | 79 | msgid "" |
76 | 80 | "Return the quotient of two complex numbers, using the C :c:type:`Py_complex` " |
77 | 81 | "representation." |
78 | 82 | msgstr "" |
79 | 83 |
|
80 | | -#: c-api/complex.rst:66 |
| 84 | +#: c-api/complex.rst:70 |
81 | 85 | msgid "" |
82 | 86 | "If *divisor* is null, this method returns zero and sets :c:data:`errno` to :" |
83 | 87 | "c:macro:`!EDOM`." |
84 | 88 | msgstr "" |
85 | 89 |
|
86 | | -#: c-api/complex.rst:72 |
| 90 | +#: c-api/complex.rst:76 |
87 | 91 | msgid "" |
88 | 92 | "Return the exponentiation of *num* by *exp*, using the C :c:type:" |
89 | 93 | "`Py_complex` representation." |
90 | 94 | msgstr "" |
91 | 95 |
|
92 | | -#: c-api/complex.rst:75 |
| 96 | +#: c-api/complex.rst:79 |
93 | 97 | msgid "" |
94 | 98 | "If *num* is null and *exp* is not a positive real number, this method " |
95 | 99 | "returns zero and sets :c:data:`errno` to :c:macro:`!EDOM`." |
96 | 100 | msgstr "" |
97 | 101 |
|
98 | | -#: c-api/complex.rst:80 |
| 102 | +#: c-api/complex.rst:84 |
99 | 103 | msgid "Complex Numbers as Python Objects" |
100 | 104 | msgstr "" |
101 | 105 |
|
102 | | -#: c-api/complex.rst:85 |
| 106 | +#: c-api/complex.rst:89 |
103 | 107 | msgid "" |
104 | 108 | "This subtype of :c:type:`PyObject` represents a Python complex number object." |
105 | 109 | msgstr "" |
106 | 110 |
|
107 | | -#: c-api/complex.rst:90 |
| 111 | +#: c-api/complex.rst:94 |
108 | 112 | msgid "" |
109 | 113 | "This instance of :c:type:`PyTypeObject` represents the Python complex number " |
110 | 114 | "type. It is the same object as :class:`complex` in the Python layer." |
111 | 115 | msgstr "" |
112 | 116 |
|
113 | | -#: c-api/complex.rst:96 |
| 117 | +#: c-api/complex.rst:100 |
114 | 118 | msgid "" |
115 | 119 | "Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :" |
116 | 120 | "c:type:`PyComplexObject`. This function always succeeds." |
117 | 121 | msgstr "" |
118 | 122 |
|
119 | | -#: c-api/complex.rst:102 |
| 123 | +#: c-api/complex.rst:106 |
120 | 124 | msgid "" |
121 | 125 | "Return true if its argument is a :c:type:`PyComplexObject`, but not a " |
122 | 126 | "subtype of :c:type:`PyComplexObject`. This function always succeeds." |
123 | 127 | msgstr "" |
124 | 128 |
|
125 | | -#: c-api/complex.rst:108 |
| 129 | +#: c-api/complex.rst:112 |
126 | 130 | msgid "" |
127 | 131 | "Create a new Python complex number object from a C :c:type:`Py_complex` " |
128 | | -"value." |
| 132 | +"value. Return ``NULL`` with an exception set on error." |
129 | 133 | msgstr "" |
130 | 134 |
|
131 | | -#: c-api/complex.rst:113 |
132 | | -msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*." |
| 135 | +#: c-api/complex.rst:118 |
| 136 | +msgid "" |
| 137 | +"Return a new :c:type:`PyComplexObject` object from *real* and *imag*. Return " |
| 138 | +"``NULL`` with an exception set on error." |
133 | 139 | msgstr "" |
134 | 140 |
|
135 | | -#: c-api/complex.rst:118 |
| 141 | +#: c-api/complex.rst:124 |
136 | 142 | msgid "Return the real part of *op* as a C :c:expr:`double`." |
137 | 143 | msgstr "" |
138 | 144 |
|
139 | | -#: c-api/complex.rst:123 |
| 145 | +#: c-api/complex.rst:126 |
| 146 | +msgid "" |
| 147 | +"Upon failure, this method returns ``-1.0`` with an exception set, so one " |
| 148 | +"should call :c:func:`PyErr_Occurred` to check for errors." |
| 149 | +msgstr "" |
| 150 | + |
| 151 | +#: c-api/complex.rst:132 |
140 | 152 | msgid "Return the imaginary part of *op* as a C :c:expr:`double`." |
141 | 153 | msgstr "" |
142 | 154 |
|
143 | | -#: c-api/complex.rst:128 |
| 155 | +#: c-api/complex.rst:137 |
144 | 156 | msgid "Return the :c:type:`Py_complex` value of the complex number *op*." |
145 | 157 | msgstr "" |
146 | 158 |
|
147 | | -#: c-api/complex.rst:130 |
| 159 | +#: c-api/complex.rst:139 |
148 | 160 | msgid "" |
149 | 161 | "If *op* is not a Python complex number object but has a :meth:`~object." |
150 | 162 | "__complex__` method, this method will first be called to convert *op* to a " |
151 | 163 | "Python complex number object. If :meth:`!__complex__` is not defined then " |
152 | 164 | "it falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not " |
153 | | -"defined then it falls back to :meth:`~object.__index__`. Upon failure, this " |
154 | | -"method returns ``-1.0`` as a real value." |
| 165 | +"defined then it falls back to :meth:`~object.__index__`." |
155 | 166 | msgstr "" |
156 | 167 |
|
157 | | -#: c-api/complex.rst:137 |
| 168 | +#: c-api/complex.rst:145 |
| 169 | +msgid "" |
| 170 | +"Upon failure, this method returns :c:type:`Py_complex` with :c:member:" |
| 171 | +"`~Py_complex.real` set to ``-1.0`` and with an exception set, so one should " |
| 172 | +"call :c:func:`PyErr_Occurred` to check for errors." |
| 173 | +msgstr "" |
| 174 | + |
| 175 | +#: c-api/complex.rst:149 |
158 | 176 | msgid "Use :meth:`~object.__index__` if available." |
159 | 177 | msgstr "" |
160 | 178 |
|
|
0 commit comments