8000 Update translations from Transifex · python/python-docs-pt-br@21cfc0f · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 21cfc0f

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent 8e93e8c commit 21cfc0f

34 files changed

+2111
-2064
lines changed

c-api/dict.po

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.13\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2024-05-11 02:33+0000\n"
17+
"POT-Creation-Date: 2024-05-24 14:15+0000\n"
1818
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1919
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2020
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -160,7 +160,7 @@ msgstr ""
160160
msgid "If the key is missing, set *\\*result* to ``NULL`` and return ``0``."
161161
msgstr ""
162162

163-
#: ../../c-api/dict.rst:110 ../../c-api/dict.rst:206
163+
#: ../../c-api/dict.rst:110 ../../c-api/dict.rst:207
164164
msgid "On error, raise an exception and return ``-1``."
165165
msgstr ""
166166

@@ -265,69 +265,68 @@ msgid ""
265265
"For clarity: if you have a strong reference to *default_value* before "
266266
"calling this function, then after it returns, you hold a strong reference to "
267267
"both *default_value* and *\\*result* (if it's not ``NULL``). These may refer "
268-
"to the same object: in that case you hold two separate references to it. .. "
269-
"versionadded:: 3.13"
268+
"to the same object: in that case you hold two separate references to it."
270269
msgstr ""
271270

272-
#: ../../c-api/dict.rst:199
271+
#: ../../c-api/dict.rst:200
273272
msgid ""
274273
"Remove *key* from dictionary *p* and optionally return the removed value. Do "
275274
"not raise :exc:`KeyError` if the key missing."
276275
msgstr ""
277276

278-
#: ../../c-api/dict.rst:202
277+
#: ../../c-api/dict.rst:203
279278
msgid ""
280279
"If the key is present, set *\\*result* to a new reference to the removed "
281280
"value if *result* is not ``NULL``, and return ``1``."
282281
msgstr ""
283282

284-
#: ../../c-api/dict.rst:204
283+
#: ../../c-api/dict.rst:205
285284
msgid ""
286285
"If the key is missing, set *\\*result* to ``NULL`` if *result* is not "
287286
"``NULL``, and return ``0``."
288287
msgstr ""
289288

290-
#: ../../c-api/dict.rst:208
289+
#: ../../c-api/dict.rst:209
291290
msgid ""
292291
"This is similar to :meth:`dict.pop`, but without the default value and not "
293292
"raising :exc:`KeyError` if the key missing."
294293
msgstr ""
295294

296-
#: ../../c-api/dict.rst:216
295+
#: ../../c-api/dict.rst:217
297296
msgid ""
298297
"Similar to :c:func:`PyDict_Pop`, but *key* is specified as a :c:expr:`const "
299298
"char*` UTF-8 encoded bytes string, rather than a :c:expr:`PyObject*`."
300299
msgstr ""
301300

302-
#: ../../c-api/dict.rst:225
301+
#: ../../c-api/dict.rst:226
303302
msgid ""
304303
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
305304
msgstr ""
306305
"Retorna um :c:type:`PyListObject` contendo todos os itens do dicionário."
307306

308-
#: ../../c-api/dict.rst:230
307+
#: ../../c-api/dict.rst:231
309308
msgid ""
310309
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
311310
msgstr ""
312311
"Retorna um :c:type:`PyListObject` contendo todas as chaves do dicionário."
313312

314-
#: ../../c-api/dict.rst:235
313+
#: ../../c-api/dict.rst:236
315314
msgid ""
316315
"Return a :c:type:`PyListObject` containing all the values from the "
317316
"dictionary *p*."
318317
msgstr ""
319318
"Retorna um :c:type:`PyListObject` contendo todos os valores do dicionário "
320319
"*p*."
321320

322-
#: ../../c-api/dict.rst:243
321+
#: ../../c-api/dict.rst:244
323322
msgid ""
324323
"Return the number of items in the dictionary. This is equivalent to "
325324
"``len(p)`` on a dictionary."
326325
msgstr ""
327326
"Retorna o número de itens no dicionário. Isso é equivalente a ``len(p)`` em "
328327
"um dicionário."
329328

330-
#: ../../c-api/dict.rst:249
329+
#: ../../c-api/dict.rst:250
331330
msgid ""
332331
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
333332
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -351,11 +350,11 @@ msgstr ""
351350
"Seu valor representa deslocamentos dentro da estrutura do dicionário interno "
352351
"e, como a estrutura é esparsa, os deslocamentos não são consecutivos."
353352

354-
#: ../../c-api/dict.rst:260
353+
#: ../../c-api/dict.rst:261
355354
msgid "For example::"
356355
msgstr "Por exemplo::"
357356

358-
#: ../../c-api/dict.rst:270
357+
#: ../../c-api/dict.rst:271
359358
msgid ""
360359
"The dictionary *p* should not be mutated during iteration. It is safe to "
361360
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -365,7 +364,7 @@ msgstr ""
365364
"modificar os valores das chaves à medida que você itera no dicionário, mas "
366365
"apenas enquanto o conjunto de chaves não mudar. Por exemplo::"
367366

368-
#: ../../c-api/dict.rst:295
367+
#: ../../c-api/dict.rst:296
369368
msgid ""
370369
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
371370
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -382,7 +381,7 @@ msgstr ""
382381
"adicionados apenas se não houver uma chave correspondente em *a*. Retorna "
383382
"``0`` em caso de sucesso ou ``-1`` se uma exceção foi levantada."
384383

385-
#: ../../c-api/dict.rst:305
384+
#: ../../c-api/dict.rst:306
386385
msgid ""
387386
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
388387
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -396,7 +395,7 @@ msgstr ""
396395
"argumento não tiver o atributo \"keys\". Retorna ``0`` em caso de sucesso ou "
397396
"``-1`` se uma exceção foi levantada."
398397

399-
#: ../../c-api/dict.rst:314
398+
#: ../../c-api/dict.rst:315
400399
msgid ""
401400
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
402401
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -411,7 +410,7 @@ msgstr ""
411410
"vence. Retorne ``0`` em caso de sucesso ou ``-1`` se uma exceção foi "
412411
"levantada. Python equivalente (exceto para o valor de retorno)::"
413412

414-
#: ../../c-api/dict.rst:328
413+
#: ../../c-api/dict.rst:329
415414
msgid ""
416415
"Register *callback* as a dictionary watcher. Return a non-negative integer "
417416
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
@@ -423,7 +422,7 @@ msgstr ""
423422
"`PyDict_Watch`. Em caso de erro (por exemplo, não há mais IDs de observador "
424423
"disponíveis), retorna ``-1`` e define uma exceção."
425424

426-
#: ../../c-api/dict.rst:337
425+
#: ../../c-api/dict.rst:338
427426
msgid ""
428427
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
429428
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
@@ -433,7 +432,7 @@ msgstr ""
433432
"c:func:`PyDict_AddWatcher`. Retorna ``0`` em caso de sucesso, ``-1`` em caso "
434433
"de erro (por exemplo, se o *watcher_id* fornecido nunca foi registrado)."
435434

436-
#: ../../c-api/dict.rst:345
435+
#: ../../c-api/dict.rst:346
437436
msgid ""
438437
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
439438
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
@@ -444,7 +443,7 @@ msgstr ""
444443
"modificado ou desalocado. Retorna ``0`` em caso de sucesso ou ``-1`` em caso "
445444
"de erro."
446445

447-
#: ../../c-api/dict.rst:353
446+
#: ../../c-api/dict.rst:354
448447
msgid ""
449448
"Mark dictionary *dict* as no longer watched. The callback granted "
450449
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
@@ -457,7 +456,7 @@ msgstr ""
457456
"anteriormente por este observador. Retorna ``0`` em caso de sucesso ou "
458457
"``-1`` em caso de erro."
459458

460-
#: ../../c-api/dict.rst:362
459+
#: ../../c-api/dict.rst:363
461460
msgid ""
462461
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
463462
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
@@ -469,11 +468,11 @@ msgstr ""
469468
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED`` ou "
470469
"``PyDict_EVENT_DEALLOCATED``."
471470

472-
#: ../../c-api/dict.rst:370
471+
#: ../../c-api/dict.rst:371
473472
msgid "Type of a dict watcher callback function."
474473
msgstr "Tipo de uma função de retorno de chamada de observador de dicionário."
475474

476-
#: ../../c-api/dict.rst:372
475+
#: ../../c-api/dict.rst:373
477476
msgid ""
478477
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
479478
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -487,7 +486,7 @@ msgstr ""
487486
"valor de *key*. Se *event* for ``PyDict_EVENT_DELETED``, *key* estará sendo "
488487
"excluída do dicionário e *new_value* será ``NULL``."
489488

490-
#: ../../c-api/dict.rst:378
489+
#: ../../c-api/dict.rst:379
491490
msgid ""
492491
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
493492
"dict is merged into it. To maintain efficiency of this operation, per-key "
@@ -500,7 +499,7 @@ msgstr ""
500499
"disso, um único ``PyDict_EVENT_CLONED`` é emitido e *key* será o dicionário "
501500
"de origem."
502501

503-
#: ../../c-api/dict.rst:384
502+
#: ../../c-api/dict.rst:385
504503
msgid ""
505504
"The callback may inspect but must not modify *dict*; doing so could have "
506505
"unpredictable effects, including infinite recursion. Do not trigger Python "
@@ -511,7 +510,7 @@ msgstr ""
511510
"execução do código Python na função de retorno, pois isso poderia modificar "
512511
"o dict como um efeito colateral."
513512

514-
#: ../../c-api/dict.rst:388
513+
#: ../../c-api/dict.rst:389
515514
msgid ""
516515
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
517516
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -525,15 +524,15 @@ msgstr ""
525524
"ressuscitado for destruído mais tarde, quaisquer funções de retorno do "
526525
"observador ativos naquele momento serão chamados novamente."
527526

528-
#: ../../c-api/dict.rst:394
527+
#: ../../c-api/dict.rst:395
529528
msgid ""
530529
"Callbacks occur before the notified modification to *dict* takes place, so "
531530
"the prior state of *dict* can be inspected."
532531
msgstr ""
533532
"As funções de retorno ocorrem antes que a modificação notificada no *dict* "
534533
"ocorra, de modo que o estado anterior do *dict* possa ser inspecionado."
535534

536-
#: ../../c-api/dict.rst:397
535+
#: ../../c-api/dict.rst:398
537536
msgid ""
538537
"If the callback sets an exception, it must return ``-1``; this exception "
539538
"will be printed as an unraisable exception using :c:func:"
@@ -543,7 +542,7 @@ msgstr ""
543542
"exceção será impressa como uma exceção não reprovável usando :c:func:"
544543
"`PyErr_WriteUnraisable`. Caso contrário, deverá retornar ``0``."
545544

546-
#: ../../c-api/dict.rst:401
545+
#: ../../c-api/dict.rst:402
547546
msgid ""
548547
"There may already be a pending exception set on entry to the callback. In "
549548
"this case, the callback should return ``0`` with the same exception still "
@@ -565,10 +564,10 @@ msgstr "objeto"
565564
msgid "dictionary"
566565
msgstr "dicionário"
567566

568-
#: ../../c-api/dict.rst:241
567+
#: ../../c-api/dict.rst:242
569568
msgid "built-in function"
570569
msgstr "função embutida"
571570

572-
#: ../../c-api/dict.rst:241
571+
#: ../../c-api/dict.rst:242
573572
msgid "len"
574573
msgstr "len"

c-api/frame.po

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.13\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-05-11 02:33+0000\n"
16+
"POT-Creation-Date: 2024-05-24 14:15+0000\n"
1717
"PO-Revision-Date: 2022-11-05 19:48+0000\n"
1818
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
1919
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -108,7 +108,7 @@ msgstr ""
108108
msgid "Get the *frame* code."
109109
msgstr "Obtém o código de *frame*."
110110

111-
#: ../../c-api/frame.rst:64 ../../c-api/frame.rst:129
111+
#: ../../c-api/frame.rst:64 ../../c-api/frame.rst:130
112112
msgid "Return a :term:`strong reference`."
113113
msgstr "Retorna uma :term:`referência forte`."
114114

@@ -172,40 +172,41 @@ msgstr ""
172172
#: ../../c-api/frame.rst:123
173173
msgid ""
174174
"Get the *frame*'s :attr:`~frame.f_locals` attribute. If the frame refers to "
175-
"a function or comprehension, this returns a write-through proxy object that "
176-
"allows modifying the locals. In all other cases (classes, modules) it "
177-
"returns the :class:`dict` representing the frame locals directly."
175+
"an :term:`optimized scope`, this returns a write-through proxy object that "
176+
"allows modifying the locals. In all other cases (classes, modules, :func:"
177+
"`exec`, :func:`eval`) it returns the mapping representing the frame locals "
178+
"directly (as described for :func:`locals`)."
178179
msgstr ""
179180

180-
#: ../../c-api/frame.rst:133
181-
msgid "Return a proxy object for functions and comprehensions."
181+
#: ../../c-api/frame.rst:134
182+
msgid "As part of :pep:`667`, return a proxy object for optimized scopes."
182183
msgstr ""
183184

184-
#: ../../c-api/frame.rst:139
185+
#: ../../c-api/frame.rst:140
185186
msgid "Return the line number that *frame* is currently executing."
186187
msgstr "Retorna o número da linha do *frame* atualmente em execução."
187188

188-
#: ../../c-api/frame.rst:144
189+
#: ../../c-api/frame.rst:145
189190
msgid "Internal Frames"
190191
msgstr ""
191192

192-
#: ../../c-api/frame.rst:146
193+
#: ../../c-api/frame.rst:147
193194
msgid "Unless using :pep:`523`, you will not need this."
194195
msgstr ""
195196

196-
#: ../../c-api/frame.rst:150
197+
#: ../../c-api/frame.rst:151
197198
msgid "The interpreter's internal frame representation."
198199
msgstr ""
199200

200-
#: ../../c-api/frame.rst:156
201+
#: ../../c-api/frame.rst:157
201202
msgid "Return a :term:`strong reference` to the code object for the frame."
202203
msgstr ""
203204

204-
#: ../../c-api/frame.rst:163
205+
#: ../../c-api/frame.rst:164
205206
msgid "Return the byte offset into the last executed instruction."
206207
msgstr ""
207208

208-
#: ../../c-api/frame.rst:170
209+
#: ../../c-api/frame.rst:171
209210
msgid ""
210211
"Return the currently executing line number, or -1 if there is no line number."
211212
msgstr ""

c-api/module.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.13\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2024-05-11 02:33+0000\n"
18+
"POT-Creation-Date: 2024-05-24 14:15+0000\n"
1919
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
2020
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
2121
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -544,8 +544,8 @@ msgstr ""
544544
msgid ""
545545
"This slot is ignored by Python builds not configured with :option:`--disable-"
546546
"gil`. Otherwise, it determines whether or not importing this module will "
547-
"cause the GIL to be automatically enabled. See :envvar:`PYTHON_GIL` and :"
548-
"option:`-X gil <-X>` for more detail."
547+
"cause the GIL to be automatically enabled. See :ref:`free-threaded-cpython` "
548+
"for more detail."
549549
msgstr ""
550550

551551
#: ../../c-api/module.rst:432

c-api/monitoring.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.13\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-05-11 02:33+0000\n"
11+
"POT-Creation-Date: 2024-05-24 14:15+0000\n"
1212
"PO-Revision-Date: 2024-05-11 01:07+0000\n"
1313
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
1414
"teams/5390/pt_BR/)\n"
@@ -154,8 +154,9 @@ msgstr ""
154154

155155
#: ../../c-api/monitoring.rst:126
156156
msgid ""
157-
"Fire a ``STOP_ITERATION`` event with the current exception (as returned by :"
158-
"c:func:`PyErr_GetRaisedException`)."
157+
"Fire a ``STOP_ITERATION`` event. If ``value`` is an instance of :exc:"
158+
"`StopIteration`, it is used. Otherwise, a new :exc:`StopIteration` instance "
159+
"is created with ``value`` as its argument."
159160
msgstr ""
160161

161162
#: ../../c-api/monitoring.rst:131

0 commit comments

Comments
 (0)
0