@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.13\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2024-07-05 14:16+0000\n "
16+ "POT-Creation-Date : 2024-07-19 14:16+0000\n "
1717"PO-Revision-Date : 2021-06-28 00:48+0000\n "
1818"
Last-Translator :
Maciej Olko <[email protected] >, 2024\n "
1919"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -52,7 +52,10 @@ msgid ""
5252"The C structure which corresponds to the value portion of a Python complex "
5353"number object. Most of the functions for dealing with complex number "
5454"objects use structures of this type as input or output values, as "
55- "appropriate. It is defined as::"
55+ "appropriate."
56+ msgstr ""
57+
58+ msgid "The structure is defined as::"
5659msgstr ""
5760
5861msgid ""
@@ -127,10 +130,12 @@ msgstr ""
127130
128131msgid ""
129132"Create a new Python complex number object from a C :c:type:`Py_complex` "
130- "value."
133+ "value. Return ``NULL`` with an exception set on error. "
131134msgstr ""
132135
133- msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
136+ msgid ""
137+ "Return a new :c:type:`PyComplexObject` object from *real* and *imag*. Return "
138+ "``NULL`` with an exception set on error."
134139msgstr ""
135140
136141msgid "Return the real part of *op* as a C :c:expr:`double`."
@@ -140,9 +145,12 @@ msgid ""
140145"If *op* is not a Python complex number object but has a :meth:`~object."
141146"__complex__` method, this method will first be called to convert *op* to a "
142147"Python complex number object. If :meth:`!__complex__` is not defined then "
143- "it falls back to call :c:func:`PyFloat_AsDouble` and returns its result. "
144- "Upon failure, this method returns ``-1.0``, so one should call :c:func:"
145- "`PyErr_Occurred` to check for errors."
148+ "it falls back to call :c:func:`PyFloat_AsDouble` and returns its result."
149+ msgstr ""
150+
151+ msgid ""
152+ "Upon failure, this method returns ``-1.0`` with an exception set, so one "
153+ "should call :c:func:`PyErr_Occurred` to check for errors."
146154msgstr ""
147155
148156msgid "Use :meth:`~object.__complex__` if available."
@@ -156,8 +164,7 @@ msgid ""
156164"__complex__` method, this method will first be called to convert *op* to a "
157165"Python complex number object. If :meth:`!__complex__` is not defined then "
158166"it falls back to call :c:func:`PyFloat_AsDouble` and returns ``0.0`` on "
159- "success. Upon failure, this method returns ``-1.0``, so one should call :c:"
160- "func:`PyErr_Occurred` to check for errors."
167+ "success."
161168msgstr ""
162169
163170msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
@@ -168,8 +175,13 @@ msgid ""
168175"__complex__` method, this method will first be called to convert *op* to a "
169176"Python complex number object. If :meth:`!__complex__` is not defined then "
170177"it falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not "
171- "defined then it falls back to :meth:`~object.__index__`. Upon failure, this "
172- "method returns ``-1.0`` as a real value."
178+ "defined then it falls back to :meth:`~object.__index__`."
179+ msgstr ""
180+
181+ msgid ""
182+ "Upon failure, this method returns :c:type:`Py_complex` with :c:member:"
183+ "`~Py_complex.real` set to ``-1.0`` and with an exception set, so one should "
184+ "call :c:func:`PyErr_Occurred` to check for errors."
173185msgstr ""
174186
175187msgid "Use :meth:`~object.__index__` if available."
0 commit comments