Skip to content

Commit 96917ca

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent b1a68b2 commit 96917ca

8 files changed

Lines changed: 253 additions & 254 deletions

File tree

c-api/long.po

Lines changed: 45 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
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
156163
msgid ""
157164
"Convert a sequence of Unicode digits in the string *u* to a Python integer "
158165
"value."
159166
msgstr ""
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
164171
msgid ""
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`."
167174
msgstr ""
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
172179
msgid ""
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`."
176183
msgstr ""
177184

178-
#: ../../c-api/long.rst:122
185+
#: ../../c-api/long.rst:126
179186
msgid ""
180187
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:"
181188
"expr:`long`."
182189
msgstr ""
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
186193
msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
187194
msgstr ""
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
193200
msgid "Use :meth:`__index__` if available."
194201
msgstr "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
198205
msgid "This function will no longer use :meth:`__int__`."
199206
msgstr ""
200207

201-
#: ../../c-api/long.rst:140
208+
#: ../../c-api/long.rst:144
202209
msgid ""
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
215222
msgid ""
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`."
219226
msgstr ""
220227

221-
#: ../../c-api/long.rst:163
228+
#: ../../c-api/long.rst:167
222229
msgid ""
223230
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:"
224231
"expr:`long long`."
225232
msgstr ""
226233

227-
#: ../../c-api/long.rst:181
234+
#: ../../c-api/long.rst:185
228235
msgid ""
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
241248
msgid ""
242249
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
243250
"be an instance of :c:type:`PyLongObject`."
244251
msgstr ""
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
249256
msgid ""
250257
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
251258
"type:`Py_ssize_t`."
252259
msgstr ""
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
257264
msgid ""
258265
"Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* "
259266
"must be an instance of :c:type:`PyLongObject`."
260267
msgstr ""
261268

262-
#: ../../c-api/long.rst:221
269+
#: ../../c-api/long.rst:225
263270
msgid ""
264271
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
265272
"expr:`unsigned long`."
266273
msgstr ""
267274

268-
#: ../../c-api/long.rst:224
275+
#: ../../c-api/long.rst:228
269276
msgid ""
270277
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
271278
"disambiguate."
272279
msgstr ""
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
277284
msgid ""
278285
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an "
279286
"instance of :c:type:`PyLongObject`."
280287
msgstr ""
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
285292
msgid ""
286293
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
287294
"type:`size_t`."
288295
msgstr ""
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
293300
msgid ""
294301
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
295302
"disambiguate."
296303
msgstr ""
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
301308
msgid ""
302309
"Return a C :c:expr:`unsigned long long` representation of *pylong*. "
303310
"*pylong* must be an instance of :c:type:`PyLongObject`."
304311
msgstr ""
305312

306-
#: ../../c-api/long.rst:252
313+
#: ../../c-api/long.rst:256
307314
msgid ""
308315
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :"
309316
"c:expr:`unsigned long long`."
310317
msgstr ""
311318

312-
#: ../../c-api/long.rst:255
319+
#: ../../c-api/long.rst:259
313320
msgid ""
314321
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
315322
"disambiguate."
316323
msgstr ""
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
321328
msgid ""
322329
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
323330
msgstr ""
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
328335
msgid ""
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`."
332339
msgstr ""
333340

334-
#: ../../c-api/long.rst:268
341+
#: ../../c-api/long.rst:272
335342
msgid ""
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``."
338345
msgstr ""
339346

340-
#: ../../c-api/long.rst:271
347+
#: ../../c-api/long.rst:275
341348
msgid ""
342349
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
343350
"disambiguate."
344351
msgstr ""
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
349356
msgid ""
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`."
353360
msgstr ""
354361

355-
#: ../../c-api/long.rst:288
362+
#: ../../c-api/long.rst:292
356363
msgid ""
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``."
359366
msgstr ""
360367

361-
#: ../../c-api/long.rst:291
368+
#: ../../c-api/long.rst:295
362369
msgid ""
363370
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` "
364371
"to disambiguate."
365372
msgstr ""
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
370377
msgid ""
371378
"Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an "
372379
"instance of :c:type:`PyLongObject`."
373380
msgstr ""
374381

375-
#: ../../c-api/long.rst:306
382+
#: ../../c-api/long.rst:310
376383
msgid ""
377384
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:"
378385
"expr:`double`."
379386
msgstr ""
380387

381-
#: ../../c-api/long.rst:309
388+
#: ../../c-api/long.rst:313
382389
msgid ""
383390
"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
384391
msgstr ""
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
389396
msgid ""
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`."
394401
msgstr ""
395402

396-
#: ../../c-api/long.rst:319
403+
#: ../../c-api/long.rst:323
397404
msgid ""
398405
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
399406
msgstr ""

0 commit comments

Comments
 (0)