@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.11\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2023-01-20 14:14+0000\n "
15+ "POT-Creation-Date : 2023-01-27 14:14+0000\n "
1616"PO-Revision-Date : 2021-06-28 00:49+0000\n "
1717"Last-Translator : Raphael Mendonça, 2021\n "
1818"Language-Team : Portuguese (Brazil) (https://www.transifex.com/python-doc/ "
@@ -152,53 +152,60 @@ msgstr ""
152152"sublinhados simples após um especificador de base e entre dígitos são "
153153"ignorados. Se não houver dígitos, :exc:`ValueError` será levantada."
154154
155- #: ../../c-api/long.rst:99
155+ #: ../../c-api/long.rst:96
156+ msgid ""
157+ "Python methods :meth:`int.to_bytes` and :meth:`int.from_bytes` to convert a :"
158+ "c:type:`PyLongObject` to/from an array of bytes in base ``256``. You can "
159+ "call those from C using :c:func:`PyObject_CallMethod`."
160+ msgstr ""
161+
162+ #: ../../c-api/long.rst:103
156163msgid ""
157164"Convert a sequence of Unicode digits in the string *u* to a Python integer "
158165"value."
159166msgstr ""
160167"Converte uma sequência de dígitos Unicode na string *u* para um valor "
161168"inteiro Python."
162169
163- #: ../../c-api/long.rst:107
170+ #: ../../c-api/long.rst:111
164171msgid ""
165172"Create a Python integer from the pointer *p*. The pointer value can be "
166173"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`."
167174msgstr ""
168175"Cria um inteiro Python a partir do ponteiro *p*. O valor do ponteiro pode "
169176"ser recuperado do valor resultante usando :c:func:`PyLong_AsVoidPtr`."
170177
171- #: ../../c-api/long.rst:118 ../../c-api/long.rst:136
178+ #: ../../c-api/long.rst:122 ../../c-api/long.rst:140
172179msgid ""
173180"Return a C :c:expr:`long` representation of *obj*. If *obj* is not an "
174181"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method "
175182"(if present) to convert it to a :c:type:`PyLongObject`."
176183msgstr ""
177184
178- #: ../../c-api/long.rst:122
185+ #: ../../c-api/long.rst:126
179186msgid ""
180187"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:"
181188"expr:`long`."
182189msgstr ""
183190
184- #: ../../c-api/long.rst:125 ../../c-api/long.rst:145 ../../c-api/long.rst:166
185- #: ../../c-api/long.rst:186 ../../c-api/long.rst:209
191+ #: ../../c-api/long.rst:129 ../../c-api/long.rst:149 ../../c-api/long.rst:170
192+ #: ../../c-api/long.rst:190 ../../c-api/long.rst:213
186193msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
187194msgstr ""
188195"Retorna ``-1`` no caso de erro. Use :c:func:`PyErr_Occurred` para "
189196"desambiguar."
190197
191- #: ../../c-api/long.rst:127 ../../c-api/long.rst:147 ../../c-api/long.rst:168
192- #: ../../c-api/long.rst:190 ../../c-api/long.rst:274 ../../c-api/long.rst:294
198+ #: ../../c-api/long.rst:131 ../../c-api/long.rst:151 ../../c-api/long.rst:172
199+ #: ../../c-api/long.rst:194 ../../c-api/long.rst:278 ../../c-api/long.rst:298
193200msgid "Use :meth:`__index__` if available."
194201msgstr "Usa :meth:`__index__`, se disponível."
195202
196- #: ../../c-api/long.rst:130 ../../c-api/long.rst:150 ../../c-api/long.rst:171
197- #: ../../c-api/long.rst:193 ../../c-api/long.rst:277 ../../c-api/long.rst:297
203+ #: ../../c-api/long.rst:134 ../../c-api/long.rst:154 ../../c-api/long.rst:175
204+ #: ../../c-api/long.rst:197 ../../c-api/long.rst:281 ../../c-api/long.rst:301
198205msgid "This function will no longer use :meth:`__int__`."
199206msgstr ""
200207
201- #: ../../c-api/long.rst:140
208+ #: ../../c-api/long.rst:144
202209msgid ""
203210"If the value of *obj* is greater than :const:`LONG_MAX` or less than :const:"
204211"`LONG_MIN`, set *\\ *overflow* to ``1`` or ``-1``, respectively, and return "
@@ -211,20 +218,20 @@ msgstr ""
211218"outra exceção ocorrer, define *\\ *overflow* para ``0`` e retorne ``-1`` como "
212219"de costume."
213220
214- #: ../../c-api/long.rst:159 ../../c-api/long.rst:177
221+ #: ../../c-api/long.rst:163 ../../c-api/long.rst:181
215222msgid ""
216223"Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an "
217224"instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method "
218225"(if present) to convert it to a :c:type:`PyLongObject`."
219226msgstr ""
220227
221- #: ../../c-api/long.rst:163
228+ #: ../../c-api/long.rst:167
222229msgid ""
223230"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:"
224231"expr:`long long`."
225232msgstr ""
226233
227- #: ../../c-api/long.rst:181
234+ #: ../../c-api/long.rst:185
228235msgid ""
229236"If the value of *obj* is greater than :const:`LLONG_MAX` or less than :const:"
230237"`LLONG_MIN`, set *\\ *overflow* to ``1`` or ``-1``, respectively, and return "
@@ -237,163 +244,163 @@ msgstr ""
237244"outra exceção ocorrer, define *\\ *overflow* para ``0`` e retorne ``-1`` como "
238245"de costume."
239246
240- #: ../../c-api/long.rst:203
247+ #: ../../c-api/long.rst:207
241248msgid ""
242249"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
243250"be an instance of :c:type:`PyLongObject`."
244251msgstr ""
245252"Retorna uma representação de :c:type:`Py_ssize_t` C de *pylong*. *pylong* "
246253"deve ser uma instância de :c:type:`PyLongObject`."
247254
248- #: ../../c-api/long.rst:206
255+ #: ../../c-api/long.rst:210
249256msgid ""
250257"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
251258"type:`Py_ssize_t`."
252259msgstr ""
253260"Levanta :exc:`OverflowError` se o valor de *pylong* estiver fora do "
254261"intervalo de um :c:type:`Py_ssize_t`."
255262
256- #: ../../c-api/long.rst:218
263+ #: ../../c-api/long.rst:222
257264msgid ""
258265"Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* "
259266"must be an instance of :c:type:`PyLongObject`."
260267msgstr ""
261268
262- #: ../../c-api/long.rst:221
269+ #: ../../c-api/long.rst:225
263270msgid ""
264271"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
265272"expr:`unsigned long`."
266273msgstr ""
267274
268- #: ../../c-api/long.rst:224
275+ #: ../../c-api/long.rst:228
269276msgid ""
270277"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
271278"disambiguate."
272279msgstr ""
273280"Retorna ``(unsigned long)-1`` no caso de erro. Use :c:func:`PyErr_Occurred` "
274281"para desambiguar."
275282
276- #: ../../c-api/long.rst:234
283+ #: ../../c-api/long.rst:238
277284msgid ""
278285"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an "
279286"instance of :c:type:`PyLongObject`."
280287msgstr ""
281288"Retorna uma representação de :c:type:`size_t` C de *pylong*. *pylong* deve "
282289"ser uma instância de :c:type:`PyLongObject`."
283290
284- #: ../../c-api/long.rst:237
291+ #: ../../c-api/long.rst:241
285292msgid ""
286293"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
287294"type:`size_t`."
288295msgstr ""
289296"Levanta :exc:`OverflowError` se o valor de *pylong* estiver fora do "
290297"intervalo de um :c:type:`size_t`."
291298
292- #: ../../c-api/long.rst:240
299+ #: ../../c-api/long.rst:244
293300msgid ""
294301"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
295302"disambiguate."
296303msgstr ""
297304"Retorna ``(size)-1`` no caso de erro. Use :c:func:`PyErr_Occurred` para "
298305"desambiguar."
299306
300- #: ../../c-api/long.rst:249
307+ #: ../../c-api/long.rst:253
301308msgid ""
302309"Return a C :c:expr:`unsigned long long` representation of *pylong*. "
303310"*pylong* must be an instance of :c:type:`PyLongObject`."
304311msgstr ""
305312
306- #: ../../c-api/long.rst:252
313+ #: ../../c-api/long.rst:256
307314msgid ""
308315"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :"
309316"c:expr:`unsigned long long`."
310317msgstr ""
311318
312- #: ../../c-api/long.rst:255
319+ #: ../../c-api/long.rst:259
313320msgid ""
314321"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
315322"disambiguate."
316323msgstr ""
317324"Retorna ``(unsigned long long)-1`` no caso de erro. Use :c:func:"
318325"`PyErr_Occurred` para desambiguar."
319326
320- #: ../../c-api/long.rst:258
327+ #: ../../c-api/long.rst:262
321328msgid ""
322329"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
323330msgstr ""
324331"Um *pylong* negativo agora levanta :exc:`OverflowError`, não :exc:"
325332"`TypeError`."
326333
327- #: ../../c-api/long.rst:264
334+ #: ../../c-api/long.rst:268
328335msgid ""
329336"Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not "
330337"an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` "
331338"method (if present) to convert it to a :c:type:`PyLongObject`."
332339msgstr ""
333340
334- #: ../../c-api/long.rst:268
341+ #: ../../c-api/long.rst:272
335342msgid ""
336343"If the value of *obj* is out of range for an :c:expr:`unsigned long`, return "
337344"the reduction of that value modulo ``ULONG_MAX + 1``."
338345msgstr ""
339346
340- #: ../../c-api/long.rst:271
347+ #: ../../c-api/long.rst:275
341348msgid ""
342349"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
343350"disambiguate."
344351msgstr ""
345352"Retorna ``(unsigned long)-1`` no caso de erro. Use :c:func:`PyErr_Occurred` "
346353"para desambiguar."
347354
348- #: ../../c-api/long.rst:283
355+ #: ../../c-api/long.rst:287
349356msgid ""
350357"Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* "
351358"is not an instance of :c:type:`PyLongObject`, first call its :meth:"
352359"`__index__` method (if present) to convert it to a :c:type:`PyLongObject`."
353360msgstr ""
354361
355- #: ../../c-api/long.rst:288
362+ #: ../../c-api/long.rst:292
356363msgid ""
357364"If the value of *obj* is out of range for an :c:expr:`unsigned long long`, "
358365"return the reduction of that value modulo ``ULLONG_MAX + 1``."
359366msgstr ""
360367
361- #: ../../c-api/long.rst:291
368+ #: ../../c-api/long.rst:295
362369msgid ""
363370"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` "
364371"to disambiguate."
365372msgstr ""
366373"Retorna ``(unsigned long long)-1`` no caso de erro. Use :c:func:"
367374"`PyErr_Occurred` para desambiguar."
368375
369- #: ../../c-api/long.rst:303
376+ #: ../../c-api/long.rst:307
370377msgid ""
371378"Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an "
372379"instance of :c:type:`PyLongObject`."
373380msgstr ""
374381
375- #: ../../c-api/long.rst:306
382+ #: ../../c-api/long.rst:310
376383msgid ""
377384"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
378385"expr:`double`."
379386msgstr ""
380387
381- #: ../../c-api/long.rst:309
388+ #: ../../c-api/long.rst:313
382389msgid ""
383390"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
384391msgstr ""
385392"Retorna ``-1.0`` no caso de erro. Use :c:func:`PyErr_Occurred` para "
386393"desambiguar."
387394
388- #: ../../c-api/long.rst:314
395+ #: ../../c-api/long.rst:318
389396msgid ""
390397"Convert a Python integer *pylong* to a C :c:expr:`void` pointer. If *pylong* "
391398"cannot be converted, an :exc:`OverflowError` will be raised. This is only "
392399"assured to produce a usable :c:expr:`void` pointer for values created with :"
393400"c:func:`PyLong_FromVoidPtr`."
394401msgstr ""
395402
396- #: ../../c-api/long.rst:319
403+ #: ../../c-api/long.rst:323
397404msgid ""
398405"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
399406msgstr ""
0 commit comments