@@ -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-05-31 14:14 +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 : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
1919"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -60,190 +60,180 @@ msgid ""
6060"The C structure which corresponds to the value portion of a Python complex "
6161"number object. Most of the functions for dealing with complex number "
6262"objects use structures of this type as input or output values, as "
63- "appropriate. It is defined as:: "
63+ "appropriate."
6464msgstr ""
65- "A estrutura C que corresponde à parte do valor de um objeto de número "
66- "complexo Python. A maioria das funções para lidar com objetos de números "
67- "complexos usa estruturas desse tipo como valores de entrada ou saída, "
68- "conforme apropriado. É definido como::"
6965
70- #: ../../c-api/complex.rst:39
66+ #: ../../c-api/complex.rst:33
67+ msgid "The structure is defined as::"
68+ msgstr ""
69+
70+ #: ../../c-api/complex.rst:43
7171msgid ""
7272"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
7373"representation."
7474msgstr ""
7575"Retorna a soma de dois números complexos, utilizando a representação C :c:"
7676"type:`Py_complex`."
7777
78- #: ../../c-api/complex.rst:45
78+ #: ../../c-api/complex.rst:49
7979msgid ""
8080"Return the difference between two complex numbers, using the C :c:type:"
8181"`Py_complex` representation."
8282msgstr ""
8383"Retorna a diferença entre dois números complexos, utilizando a representação "
8484"C :c:type:`Py_complex`."
8585
86- #: ../../c-api/complex.rst:51
86+ #: ../../c-api/complex.rst:55
8787msgid ""
8888"Return the negation of the complex number *num*, using the C :c:type:"
8989"`Py_complex` representation."
9090msgstr ""
9191"Retorna a negação do número complexo *num*, utilizando a representação C :c:"
9292"type:`Py_complex`."
9393
94- #: ../../c-api/complex.rst:57
94+ #: ../../c-api/complex.rst:61
9595msgid ""
9696"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
9797"representation."
9898msgstr ""
9999"Retorna o produto de dois números complexos, utilizando a representação C :c:"
100100"type:`Py_complex`."
101101
102- #: ../../c-api/complex.rst:63
102+ #: ../../c-api/complex.rst:67
103103msgid ""
104104"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
105105"representation."
106106msgstr ""
107107"Retorna o quociente de dois números complexos, utilizando a representação C :"
108108"c:type:`Py_complex`."
109109
110- #: ../../c-api/complex.rst:66
110+ #: ../../c-api/complex.rst:70
111111msgid ""
112112"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
113113"c:macro:`!EDOM`."
114114msgstr ""
115115"Se *divisor* é nulo, este método retorna zero e define :c:data:`errno` para :"
116116"c:macro:`!EDOM`."
117117
118- #: ../../c-api/complex.rst:72
118+ #: ../../c-api/complex.rst:76
119119msgid ""
120120"Return the exponentiation of *num* by *exp*, using the C :c:type:"
121121"`Py_complex` representation."
122122msgstr ""
123123"Retorna a exponenciação de *num* por *exp*, utilizando a representação C :c:"
124124"type:`Py_complex`"
125125
126- #: ../../c-api/complex.rst:75
126+ #: ../../c-api/complex.rst:79
127127msgid ""
128128"If *num* is null and *exp* is not a positive real number, this method "
129129"returns zero and sets :c:data:`errno` to :c:macro:`!EDOM`."
130130msgstr ""
131131"Se *num* for nulo e *exp* não for um número real positivo, este método "
132132"retorna zero e define :c:data:`errno` para :c:macro:`!EDOM`."
133133
134- #: ../../c-api/complex.rst:80
134+ #: ../../c-api/complex.rst:84
135135msgid "Complex Numbers as Python Objects"
136136msgstr "Números complexos como objetos Python"
137137
138- #: ../../c-api/complex.rst:85
138+ #: ../../c-api/complex.rst:89
139139msgid ""
140140"This subtype of :c:type:`PyObject` represents a Python complex number object."
141141msgstr ""
142142"Este subtipo de :c:type:`PyObject` representa um objeto Python de número "
143143"complexo."
144144
145- #: ../../c-api/complex.rst:90
145+ #: ../../c-api/complex.rst:94
146146msgid ""
147147"This instance of :c:type:`PyTypeObject` represents the Python complex number "
148148"type. It is the same object as :class:`complex` in the Python layer."
149149msgstr ""
150150"Esta instância de :c:type:`PyTypeObject` representa o tipo de número "
151151"complexo Python. É o mesmo objeto que :class:`complex` na camada Python."
152152
153- #: ../../c-api/complex.rst:96
153+ #: ../../c-api/complex.rst:100
154154msgid ""
155155"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
156156"c:type:`PyComplexObject`. This function always succeeds."
157157msgstr ""
158158"Retorna true se seu argumento é um :c:type:`PyComplexObject` ou um subtipo "
159159"de :c:type:`PyComplexObject`. Esta função sempre tem sucesso."
160160
161- #: ../../c-api/complex.rst:102
161+ #: ../../c-api/complex.rst:106
162162msgid ""
163163"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
164164"subtype of :c:type:`PyComplexObject`. This function always succeeds."
165165msgstr ""
166166"Retorna true se seu argumento é um :c:type:`PyComplexObject`, mas não um "
167167"subtipo de :c:type:`PyComplexObject`. Esta função sempre tem sucesso."
168168
169- #: ../../c-api/complex.rst:108
169+ #: ../../c-api/complex.rst:112
170170msgid ""
171171"Create a new Python complex number object from a C :c:type:`Py_complex` "
172- "value."
172+ "value. Return ``NULL`` with an exception set on error. "
173173msgstr ""
174- "Cria um novo objeto de número complexo Python a partir de um valor C :c:type:"
175- "`Py_complex`."
176-
177- #: ../../c-api/complex.rst:113
178- msgid "Return a new :c:type:`PyComplexObject` object from *real* and *imag*."
179- msgstr "Retorna um novo objeto :c:type:`PyComplexObject` de *real* e *imag*."
180174
181175#: ../../c-api/complex.rst:118
176+ msgid ""
177+ "Return a new :c:type:`PyComplexObject` object from *real* and *imag*. Return "
178+ "``NULL`` with an exception set on error."
179+ msgstr ""
180+
181+ #: ../../c-api/complex.rst:124
182182msgid "Return the real part of *op* as a C :c:expr:`double`."
183183msgstr "Retorna a parte real de *op* como um :c:expr:`double` C."
184184
185- #: ../../c-api/complex.rst:120
185+ #: ../../c-api/complex.rst:126
186186msgid ""
187187"If *op* is not a Python complex number object but has a :meth:`~object."
188188"__complex__` method, this method will first be called to convert *op* to a "
189189"Python complex number object. If :meth:`!__complex__` is not defined then "
190- "it falls back to call :c:func:`PyFloat_AsDouble` and returns its result. "
191- "Upon failure, this method returns ``-1.0``, so one should call :c:func:"
192- "`PyErr_Occurred` to check for errors."
190+ "it falls back to call :c:func:`PyFloat_AsDouble` and returns its result."
193191msgstr ""
194- "Se *op* não é um objeto de número complexo Python, mas tem um método :meth:"
195- "`~object.__complex__`, este método será primeiro chamado para converter *op* "
196- "em um objeto de número complexo Python. Se :meth:`!__complex__` não estiver "
197- "definido, ele volta a chamar :c:func:`PyFloat_AsDouble` e retorna seu "
198- "resultado. Em caso de falha, este método retorna ``-1.0``, então deve-se "
199- "chamar :c:func:`PyErr_Occurred` para verificar se há erros. "
200-
201- #: ../../c-api/complex.rst:127 ../../c-api/complex.rst:141
192+
193+ #: ../../c-api/complex.rst:132 ../../c-api/complex.rst:148
194+ msgid " "
195+ "Upon failure, this method returns ``-1.0`` with an exception set, so one "
196+ "should call :c:func:`PyErr_Occurred` to check for errors. "
197+ msgstr " "
198+
199+ #: ../../c-api/complex.rst:135 ../../c-api/complex.rst:151
202200msgid "Use :meth:`~object.__complex__` if available."
203201msgstr "Usa :meth:`~object.__complex__`, se disponível."
204202
205- #: ../../c-api/complex.rst:132
203+ #: ../../c-api/complex.rst:140
206204msgid "Return the imaginary part of *op* as a C :c:expr:`double`."
207205msgstr "Retorna a parte imaginária de *op* como um :c:expr:`double` C."
208206
209- #: ../../c-api/complex.rst:134
207+ #: ../../c-api/complex.rst:142
210208msgid ""
211209"If *op* is not a Python complex number object but has a :meth:`~object."
212210"__complex__` method, this method will first be called to convert *op* to a "
213211"Python complex number object. If :meth:`!__complex__` is not defined then "
214212"it falls back to call :c:func:`PyFloat_AsDouble` and returns ``0.0`` on "
215- "success. Upon failure, this method returns ``-1.0``, so one should call :c:"
216- "func:`PyErr_Occurred` to check for errors."
213+ "success."
217214msgstr ""
218- "Se *op* não é um objeto de número complexo Python, mas tem um método :meth:"
219- "`~object.__complex__`, este método será primeiro chamado para converter *op* "
220- "em um objeto de número complexo Python. Se :meth:`!__complex__` não estiver "
221- "definido, ele volta a chamar :c:func:`PyFloat_AsDouble` e retorna ``0.0`` no "
222- "sucesso. Em caso de falha, este método retorna ``-1.0``, então deve-se "
223- "chamar :c:func:`PyErr_Occurred` para verificar se há erros."
224-
225- #: ../../c-api/complex.rst:146
215+
216+ #: ../../c-api/complex.rst:156
226217msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
227218msgstr "Retorna o valor :c:type:`Py_complex` do número complexo *op*."
228219
229- #: ../../c-api/complex.rst:148
220+ #: ../../c-api/complex.rst:158
230221msgid ""
231222"If *op* is not a Python complex number object but has a :meth:`~object."
232223"__complex__` method, this method will first be called to convert *op* to a "
233224"Python complex number object. If :meth:`!__complex__` is not defined then "
234225"it falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not "
235- "defined then it falls back to :meth:`~object.__index__`. Upon failure, this "
236- "method returns ``-1.0`` as a real value."
226+ "defined then it falls back to :meth:`~object.__index__`."
237227msgstr ""
238- "Se *op* não é um objeto de número complexo Python, mas tem um método :meth:"
239- "`~object.__complex__`, este método será primeiro chamado para converter *op* "
240- "em um objeto de número complexo Python. Se :meth:`!__complex__` não for "
241- "definido, então ele recorre a :meth:`~object.__float__`. Se :meth:`! "
242- "__float__` não estiver definido, então ele volta para :meth:`~object. "
243- "__index__`. Em caso de falha, este método retorna ``-1.0`` como um valor "
244- "real. "
245-
246- #: ../../c-api/complex.rst:155
228+
229+ #: ../../c-api/complex.rst:164
230+ msgid " "
231+ "Upon failure, this method returns :c:type:`Py_complex` with :c:member: "
232+ "`~Py_complex.real` set to ``-1.0`` and with an exception set, so one should "
233+ "call :c:func:`PyErr_Occurred` to check for errors. "
234+ msgstr " "
235+
236+ #: ../../c-api/complex.rst:168
247237msgid "Use :meth:`~object.__index__` if available."
248238msgstr "Usa :meth:`~object.__index__`, se disponível."
249239
0 commit comments