@@ -13,7 +13,7 @@ msgid ""
13
13
msgstr ""
14
14
"Project-Id-Version : Python 3.13\n "
15
15
"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 "
17
17
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
18
18
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
19
19
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -60,190 +60,180 @@ msgid ""
60
60
"The C structure which corresponds to the value portion of a Python complex "
61
61
"number object. Most of the functions for dealing with complex number "
62
62
"objects use structures of this type as input or output values, as "
63
- "appropriate. It is defined as:: "
63
+ "appropriate."
64
64
msgstr ""
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::"
69
65
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
71
71
msgid ""
72
72
"Return the sum of two complex numbers, using the C :c:type:`Py_complex` "
73
73
"representation."
74
74
msgstr ""
75
75
"Retorna a soma de dois números complexos, utilizando a representação C :c:"
76
76
"type:`Py_complex`."
77
77
78
- #: ../../c-api/complex.rst:45
78
+ #: ../../c-api/complex.rst:49
79
79
msgid ""
80
80
"Return the difference between two complex numbers, using the C :c:type:"
81
81
"`Py_complex` representation."
82
82
msgstr ""
83
83
"Retorna a diferença entre dois números complexos, utilizando a representação "
84
84
"C :c:type:`Py_complex`."
85
85
86
- #: ../../c-api/complex.rst:51
86
+ #: ../../c-api/complex.rst:55
87
87
msgid ""
88
88
"Return the negation of the complex number *num*, using the C :c:type:"
89
89
"`Py_complex` representation."
90
90
msgstr ""
91
91
"Retorna a negação do número complexo *num*, utilizando a representação C :c:"
92
92
"type:`Py_complex`."
93
93
94
- #: ../../c-api/complex.rst:57
94
+ #: ../../c-api/complex.rst:61
95
95
msgid ""
96
96
"Return the product of two complex numbers, using the C :c:type:`Py_complex` "
97
97
"representation."
98
98
msgstr ""
99
99
"Retorna o produto de dois números complexos, utilizando a representação C :c:"
100
100
"type:`Py_complex`."
101
101
102
- #: ../../c-api/complex.rst:63
102
+ #: ../../c-api/complex.rst:67
103
103
msgid ""
104
104
"Return the quotient of two complex numbers, using the C :c:type:`Py_complex` "
105
105
"representation."
106
106
msgstr ""
107
107
"Retorna o quociente de dois números complexos, utilizando a representação C :"
108
108
"c:type:`Py_complex`."
109
109
110
- #: ../../c-api/complex.rst:66
110
+ #: ../../c-api/complex.rst:70
111
111
msgid ""
112
112
"If *divisor* is null, this method returns zero and sets :c:data:`errno` to :"
113
113
"c:macro:`!EDOM`."
114
114
msgstr ""
115
115
"Se *divisor* é nulo, este método retorna zero e define :c:data:`errno` para :"
116
116
"c:macro:`!EDOM`."
117
117
118
- #: ../../c-api/complex.rst:72
118
+ #: ../../c-api/complex.rst:76
119
119
msgid ""
120
120
"Return the exponentiation of *num* by *exp*, using the C :c:type:"
121
121
"`Py_complex` representation."
122
122
msgstr ""
123
123
"Retorna a exponenciação de *num* por *exp*, utilizando a representação C :c:"
124
124
"type:`Py_complex`"
125
125
126
- #: ../../c-api/complex.rst:75
126
+ #: ../../c-api/complex.rst:79
127
127
msgid ""
128
128
"If *num* is null and *exp* is not a positive real number, this method "
129
129
"returns zero and sets :c:data:`errno` to :c:macro:`!EDOM`."
130
130
msgstr ""
131
131
"Se *num* for nulo e *exp* não for um número real positivo, este método "
132
132
"retorna zero e define :c:data:`errno` para :c:macro:`!EDOM`."
133
133
134
- #: ../../c-api/complex.rst:80
134
+ #: ../../c-api/complex.rst:84
135
135
msgid "Complex Numbers as Python Objects"
136
136
msgstr "Números complexos como objetos Python"
137
137
138
- #: ../../c-api/complex.rst:85
138
+ #: ../../c-api/complex.rst:89
139
139
msgid ""
140
140
"This subtype of :c:type:`PyObject` represents a Python complex number object."
141
141
msgstr ""
142
142
"Este subtipo de :c:type:`PyObject` representa um objeto Python de número "
143
143
"complexo."
144
144
145
- #: ../../c-api/complex.rst:90
145
+ #: ../../c-api/complex.rst:94
146
146
msgid ""
147
147
"This instance of :c:type:`PyTypeObject` represents the Python complex number "
148
148
"type. It is the same object as :class:`complex` in the Python layer."
149
149
msgstr ""
150
150
"Esta instância de :c:type:`PyTypeObject` representa o tipo de número "
151
151
"complexo Python. É o mesmo objeto que :class:`complex` na camada Python."
152
152
153
- #: ../../c-api/complex.rst:96
153
+ #: ../../c-api/complex.rst:100
154
154
msgid ""
155
155
"Return true if its argument is a :c:type:`PyComplexObject` or a subtype of :"
156
156
"c:type:`PyComplexObject`. This function always succeeds."
157
157
msgstr ""
158
158
"Retorna true se seu argumento é um :c:type:`PyComplexObject` ou um subtipo "
159
159
"de :c:type:`PyComplexObject`. Esta função sempre tem sucesso."
160
160
161
- #: ../../c-api/complex.rst:102
161
+ #: ../../c-api/complex.rst:106
162
162
msgid ""
163
163
"Return true if its argument is a :c:type:`PyComplexObject`, but not a "
164
164
"subtype of :c:type:`PyComplexObject`. This function always succeeds."
165
165
msgstr ""
166
166
"Retorna true se seu argumento é um :c:type:`PyComplexObject`, mas não um "
167
167
"subtipo de :c:type:`PyComplexObject`. Esta função sempre tem sucesso."
168
168
169
- #: ../../c-api/complex.rst:108
169
+ #: ../../c-api/complex.rst:112
170
170
msgid ""
171
171
"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. "
173
173
msgstr ""
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*."
180
174
181
175
#: ../../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
182
182
msgid "Return the real part of *op* as a C :c:expr:`double`."
183
183
msgstr "Retorna a parte real de *op* como um :c:expr:`double` C."
184
184
185
- #: ../../c-api/complex.rst:120
185
+ #: ../../c-api/complex.rst:126
186
186
msgid ""
187
187
"If *op* is not a Python complex number object but has a :meth:`~object."
188
188
"__complex__` method, this method will first be called to convert *op* to a "
189
189
"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."
193
191
msgstr ""
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
202
200
msgid "Use :meth:`~object.__complex__` if available."
203
201
msgstr "Usa :meth:`~object.__complex__`, se disponível."
204
202
205
- #: ../../c-api/complex.rst:132
203
+ #: ../../c-api/complex.rst:140
206
204
msgid "Return the imaginary part of *op* as a C :c:expr:`double`."
207
205
msgstr "Retorna a parte imaginária de *op* como um :c:expr:`double` C."
208
206
209
- #: ../../c-api/complex.rst:134
207
+ #: ../../c-api/complex.rst:142
210
208
msgid ""
211
209
"If *op* is not a Python complex number object but has a :meth:`~object."
212
210
"__complex__` method, this method will first be called to convert *op* to a "
213
211
"Python complex number object. If :meth:`!__complex__` is not defined then "
214
212
"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."
217
214
msgstr ""
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
226
217
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
227
218
msgstr "Retorna o valor :c:type:`Py_complex` do número complexo *op*."
228
219
229
- #: ../../c-api/complex.rst:148
220
+ #: ../../c-api/complex.rst:158
230
221
msgid ""
231
222
"If *op* is not a Python complex number object but has a :meth:`~object."
232
223
"__complex__` method, this method will first be called to convert *op* to a "
233
224
"Python complex number object. If :meth:`!__complex__` is not defined then "
234
225
"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__`."
237
227
msgstr ""
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
247
237
msgid "Use :meth:`~object.__index__` if available."
248
238
msgstr "Usa :meth:`~object.__index__`, se disponível."
249
239
0 commit comments