@@ -14,7 +14,7 @@ msgid ""
14
14
msgstr ""
15
15
"Project-Id-Version : Python 3.13\n "
16
16
"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 "
18
18
"PO-Revision-Date : 2021-06-28 00:48+0000\n "
19
19
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n "
20
20
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -160,7 +160,7 @@ msgstr ""
160
160
msgid "If the key is missing, set *\\ *result* to ``NULL`` and return ``0``."
161
161
msgstr ""
162
162
163
- #: ../../c-api/dict.rst:110 ../../c-api/dict.rst:206
163
+ #: ../../c-api/dict.rst:110 ../../c-api/dict.rst:207
164
164
msgid "On error, raise an exception and return ``-1``."
165
165
msgstr ""
166
166
@@ -265,69 +265,68 @@ msgid ""
265
265
"For clarity: if you have a strong reference to *default_value* before "
266
266
"calling this function, then after it returns, you hold a strong reference to "
267
267
"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."
270
269
msgstr ""
271
270
272
- #: ../../c-api/dict.rst:199
271
+ #: ../../c-api/dict.rst:200
273
272
msgid ""
274
273
"Remove *key* from dictionary *p* and optionally return the removed value. Do "
275
274
"not raise :exc:`KeyError` if the key missing."
276
275
msgstr ""
277
276
278
- #: ../../c-api/dict.rst:202
277
+ #: ../../c-api/dict.rst:203
279
278
msgid ""
280
279
"If the key is present, set *\\ *result* to a new reference to the removed "
281
280
"value if *result* is not ``NULL``, and return ``1``."
282
281
msgstr ""
283
282
284
- #: ../../c-api/dict.rst:204
283
+ #: ../../c-api/dict.rst:205
285
284
msgid ""
286
285
"If the key is missing, set *\\ *result* to ``NULL`` if *result* is not "
287
286
"``NULL``, and return ``0``."
288
287
msgstr ""
289
288
290
- #: ../../c-api/dict.rst:208
289
+ #: ../../c-api/dict.rst:209
291
290
msgid ""
292
291
"This is similar to :meth:`dict.pop`, but without the default value and not "
293
292
"raising :exc:`KeyError` if the key missing."
294
293
msgstr ""
295
294
296
- #: ../../c-api/dict.rst:216
295
+ #: ../../c-api/dict.rst:217
297
296
msgid ""
298
297
"Similar to :c:func:`PyDict_Pop`, but *key* is specified as a :c:expr:`const "
299
298
"char*` UTF-8 encoded bytes string, rather than a :c:expr:`PyObject*`."
300
299
msgstr ""
301
300
302
- #: ../../c-api/dict.rst:225
301
+ #: ../../c-api/dict.rst:226
303
302
msgid ""
304
303
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
305
304
msgstr ""
306
305
"Retorna um :c:type:`PyListObject` contendo todos os itens do dicionário."
307
306
308
- #: ../../c-api/dict.rst:230
307
+ #: ../../c-api/dict.rst:231
309
308
msgid ""
310
309
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
311
310
msgstr ""
312
311
"Retorna um :c:type:`PyListObject` contendo todas as chaves do dicionário."
313
312
314
- #: ../../c-api/dict.rst:235
313
+ #: ../../c-api/dict.rst:236
315
314
msgid ""
316
315
"Return a :c:type:`PyListObject` containing all the values from the "
317
316
"dictionary *p*."
318
317
msgstr ""
319
318
"Retorna um :c:type:`PyListObject` contendo todos os valores do dicionário "
320
319
"*p*."
321
320
322
- #: ../../c-api/dict.rst:243
321
+ #: ../../c-api/dict.rst:244
323
322
msgid ""
324
323
"Return the number of items in the dictionary. This is equivalent to "
325
324
"``len(p)`` on a dictionary."
326
325
msgstr ""
327
326
"Retorna o número de itens no dicionário. Isso é equivalente a ``len(p)`` em "
328
327
"um dicionário."
329
328
330
- #: ../../c-api/dict.rst:249
329
+ #: ../../c-api/dict.rst:250
331
330
msgid ""
332
331
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
333
332
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
@@ -351,11 +350,11 @@ msgstr ""
351
350
"Seu valor representa deslocamentos dentro da estrutura do dicionário interno "
352
351
"e, como a estrutura é esparsa, os deslocamentos não são consecutivos."
353
352
354
- #: ../../c-api/dict.rst:260
353
+ #: ../../c-api/dict.rst:261
355
354
msgid "For example::"
356
355
msgstr "Por exemplo::"
357
356
358
- #: ../../c-api/dict.rst:270
357
+ #: ../../c-api/dict.rst:271
359
358
msgid ""
360
359
"The dictionary *p* should not be mutated during iteration. It is safe to "
361
360
"modify the values of the keys as you iterate over the dictionary, but only "
@@ -365,7 +364,7 @@ msgstr ""
365
364
"modificar os valores das chaves à medida que você itera no dicionário, mas "
366
365
"apenas enquanto o conjunto de chaves não mudar. Por exemplo::"
367
366
368
- #: ../../c-api/dict.rst:295
367
+ #: ../../c-api/dict.rst:296
369
368
msgid ""
370
369
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
371
370
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
@@ -382,7 +381,7 @@ msgstr ""
382
381
"adicionados apenas se não houver uma chave correspondente em *a*. Retorna "
383
382
"``0`` em caso de sucesso ou ``-1`` se uma exceção foi levantada."
384
383
385
- #: ../../c-api/dict.rst:305
384
+ #: ../../c-api/dict.rst:306
386
385
msgid ""
387
386
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
388
387
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
@@ -396,7 +395,7 @@ msgstr ""
396
395
"argumento não tiver o atributo \" keys\" . Retorna ``0`` em caso de sucesso ou "
397
396
"``-1`` se uma exceção foi levantada."
398
397
399
- #: ../../c-api/dict.rst:314
398
+ #: ../../c-api/dict.rst:315
400
399
msgid ""
401
400
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
402
401
"*seq2* must be an iterable object producing iterable objects of length 2, "
@@ -411,7 +410,7 @@ msgstr ""
411
410
"vence. Retorne ``0`` em caso de sucesso ou ``-1`` se uma exceção foi "
412
411
"levantada. Python equivalente (exceto para o valor de retorno)::"
413
412
414
- #: ../../c-api/dict.rst:328
413
+ #: ../../c-api/dict.rst:329
415
414
msgid ""
416
415
"Register *callback* as a dictionary watcher. Return a non-negative integer "
417
416
"id which must be passed to future calls to :c:func:`PyDict_Watch`. In case "
@@ -423,7 +422,7 @@ msgstr ""
423
422
"`PyDict_Watch`. Em caso de erro (por exemplo, não há mais IDs de observador "
424
423
"disponíveis), retorna ``-1`` e define uma exceção."
425
424
426
- #: ../../c-api/dict.rst:337
425
+ #: ../../c-api/dict.rst:338
427
426
msgid ""
428
427
"Clear watcher identified by *watcher_id* previously returned from :c:func:"
429
428
"`PyDict_AddWatcher`. Return ``0`` on success, ``-1`` on error (e.g. if the "
@@ -433,7 +432,7 @@ msgstr ""
433
432
"c:func:`PyDict_AddWatcher`. Retorna ``0`` em caso de sucesso, ``-1`` em caso "
434
433
"de erro (por exemplo, se o *watcher_id* fornecido nunca foi registrado)."
435
434
436
- #: ../../c-api/dict.rst:345
435
+ #: ../../c-api/dict.rst:346
437
436
msgid ""
438
437
"Mark dictionary *dict* as watched. The callback granted *watcher_id* by :c:"
439
438
"func:`PyDict_AddWatcher` will be called when *dict* is modified or "
@@ -444,7 +443,7 @@ msgstr ""
444
443
"modificado ou desalocado. Retorna ``0`` em caso de sucesso ou ``-1`` em caso "
445
444
"de erro."
446
445
447
- #: ../../c-api/dict.rst:353
446
+ #: ../../c-api/dict.rst:354
448
447
msgid ""
449
448
"Mark dictionary *dict* as no longer watched. The callback granted "
450
449
"*watcher_id* by :c:func:`PyDict_AddWatcher` will no longer be called when "
@@ -457,7 +456,7 @@ msgstr ""
457
456
"anteriormente por este observador. Retorna ``0`` em caso de sucesso ou "
458
457
"``-1`` em caso de erro."
459
458
460
- #: ../../c-api/dict.rst:362
459
+ #: ../../c-api/dict.rst:363
461
460
msgid ""
462
461
"Enumeration of possible dictionary watcher events: ``PyDict_EVENT_ADDED``, "
463
462
"``PyDict_EVENT_MODIFIED``, ``PyDict_EVENT_DELETED``, "
@@ -469,11 +468,11 @@ msgstr ""
469
468
"``PyDict_EVENT_CLONED``, ``PyDict_EVENT_CLEARED`` ou "
470
469
"``PyDict_EVENT_DEALLOCATED``."
471
470
472
- #: ../../c-api/dict.rst:370
471
+ #: ../../c-api/dict.rst:371
473
472
msgid "Type of a dict watcher callback function."
474
473
msgstr "Tipo de uma função de retorno de chamada de observador de dicionário."
475
474
476
- #: ../../c-api/dict.rst:372
475
+ #: ../../c-api/dict.rst:373
477
476
msgid ""
478
477
"If *event* is ``PyDict_EVENT_CLEARED`` or ``PyDict_EVENT_DEALLOCATED``, both "
479
478
"*key* and *new_value* will be ``NULL``. If *event* is ``PyDict_EVENT_ADDED`` "
@@ -487,7 +486,7 @@ msgstr ""
487
486
"valor de *key*. Se *event* for ``PyDict_EVENT_DELETED``, *key* estará sendo "
488
487
"excluída do dicionário e *new_value* será ``NULL``."
489
488
490
- #: ../../c-api/dict.rst:378
489
+ #: ../../c-api/dict.rst:379
491
490
msgid ""
492
491
"``PyDict_EVENT_CLONED`` occurs when *dict* was previously empty and another "
493
492
"dict is merged into it. To maintain efficiency of this operation, per-key "
@@ -500,7 +499,7 @@ msgstr ""
500
499
"disso, um único ``PyDict_EVENT_CLONED`` é emitido e *key* será o dicionário "
501
500
"de origem."
502
501
503
- #: ../../c-api/dict.rst:384
502
+ #: ../../c-api/dict.rst:385
504
503
msgid ""
505
504
"The callback may inspect but must not modify *dict*; doing so could have "
506
505
"unpredictable effects, including infinite recursion. Do not trigger Python "
@@ -511,7 +510,7 @@ msgstr ""
511
510
"execução do código Python na função de retorno, pois isso poderia modificar "
512
511
"o dict como um efeito colateral."
513
512
514
- #: ../../c-api/dict.rst:388
513
+ #: ../../c-api/dict.rst:389
515
514
msgid ""
516
515
"If *event* is ``PyDict_EVENT_DEALLOCATED``, taking a new reference in the "
517
516
"callback to the about-to-be-destroyed dictionary will resurrect it and "
@@ -525,15 +524,15 @@ msgstr ""
525
524
"ressuscitado for destruído mais tarde, quaisquer funções de retorno do "
526
525
"observador ativos naquele momento serão chamados novamente."
527
526
528
- #: ../../c-api/dict.rst:394
527
+ #: ../../c-api/dict.rst:395
529
528
msgid ""
530
529
"Callbacks occur before the notified modification to *dict* takes place, so "
531
530
"the prior state of *dict* can be inspected."
532
531
msgstr ""
533
532
"As funções de retorno ocorrem antes que a modificação notificada no *dict* "
534
533
"ocorra, de modo que o estado anterior do *dict* possa ser inspecionado."
535
534
536
- #: ../../c-api/dict.rst:397
535
+ #: ../../c-api/dict.rst:398
537
536
msgid ""
538
537
"If the callback sets an exception, it must return ``-1``; this exception "
539
538
"will be printed as an unraisable exception using :c:func:"
@@ -543,7 +542,7 @@ msgstr ""
543
542
"exceção será impressa como uma exceção não reprovável usando :c:func:"
544
543
"`PyErr_WriteUnraisable`. Caso contrário, deverá retornar ``0``."
545
544
546
- #: ../../c-api/dict.rst:401
545
+ #: ../../c-api/dict.rst:402
547
546
msgid ""
548
547
"There may already be a pending exception set on entry to the callback. In "
549
548
"this case, the callback should return ``0`` with the same exception still "
@@ -565,10 +564,10 @@ msgstr "objeto"
565
564
msgid "dictionary"
566
565
msgstr "dicionário"
567
566
568
- #: ../../c-api/dict.rst:241
567
+ #: ../../c-api/dict.rst:242
569
568
msgid "built-in function"
570
569
msgstr "função embutida"
571
570
572
- #: ../../c-api/dict.rst:241
571
+ #: ../../c-api/dict.rst:242
573
572
msgid "len"
574
573
msgstr "len"
0 commit comments