9
9
# Nicolas Evangelista, 2022
10
10
# PAULO NASCIMENTO, 2024
11
11
# Adorilson Bezerra <adorilson@gmail.com>, 2024
12
- # José Carlos, 2024
13
12
# Rafael Fontenelle <rffontenelle@gmail.com>, 2024
13
+ # José Carlos, 2024
14
14
#
15
15
#, fuzzy
16
16
msgid ""
17
17
msgstr ""
18
18
"Project-Id-Version : Python 3.13\n "
19
19
"Report-Msgid-Bugs-To : \n "
20
- "POT-Creation-Date : 2024-08-02 14 :15+0000\n "
20
+ "POT-Creation-Date : 2024-08-03 20 :15+0000\n "
21
21
"PO-Revision-Date : 2021-06-28 00:52+0000\n "
22
- "Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com> , 2024\n "
22
+ "Last-Translator : José Carlos , 2024\n "
23
23
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
24
24
"teams/5390/pt_BR/)\n "
25
25
"MIME-Version : 1.0\n "
@@ -366,23 +366,30 @@ msgid ""
366
366
"You should avoid assigning to the ``__annotations__`` member of objects "
367
367
"directly. Let Python manage setting ``__annotations__``."
368
368
msgstr ""
369
+ "Evite atribuir diretamente ao membro ``__annotations__`` dos objetos. Deixe "
370
+ "que Python gerenciar a configuração de ``__annotations__``."
369
371
370
372
#: ../../howto/annotations.rst:184
371
373
msgid ""
372
374
"If you do assign directly to the ``__annotations__`` member of an object, "
373
375
"you should always set it to a ``dict`` object."
374
376
msgstr ""
377
+ "Se você atribuir diretamente ao membro ``__annotations__`` do objeto, sempre "
378
+ "o defina como um objeto ``dict``."
375
379
376
380
#: ../../howto/annotations.rst:187
377
381
msgid ""
378
382
"If you directly access the ``__annotations__`` member of an object, you "
379
383
"should ensure that it's a dictionary before attempting to examine its "
380
384
"contents."
381
385
msgstr ""
386
+ "Caso acesse diretamente o membro ``__annotations__`` de um objeto, "
387
+ "certifique-se de que ele é um dicionário antes de tentar examinar seu "
388
+ "conteúdo."
382
389
383
390
#: ../../howto/annotations.rst:191
384
391
msgid "You should avoid modifying ``__annotations__`` dicts."
385
- msgstr "Você deve evitar modificar o dicionário ``__annotations__``."
392
+ msgstr "Evite modificar o dicionário ``__annotations__``."
386
393
387
394
#: ../../howto/annotations.rst:193
388
395
msgid ""
@@ -432,6 +439,13 @@ msgid ""
432
439
"``__annotations__`` to any Python value, and will retain whatever value is "
433
440
"set."
434
441
msgstr ""
442
+ "Em todas as versões de Python 3, você pode definir ``__annotations__`` como "
443
+ "``None`` em um objeto de função . Contudo, acessar em sequência as anotações "
444
+ "nesse objeto utilizando ``fn.__annotations__`` irá criar preguiçosamente um "
445
+ "dicionário vazio como descrito no primeiro parágrafo dessa seção. Isso *não* "
446
+ "é válido para módulos e classes, em qualquer versão de Python; esses objetos "
447
+ "permitem atribuir ``__annotations__`` a qualquer valor de Python, e "
448
+ "armazenam qualquer valor atribuído."
435
449
436
450
#: ../../howto/annotations.rst:221
437
451
msgid ""
@@ -440,9 +454,16 @@ msgid ""
440
454
"will itself be quoted. In effect the annotation is quoted *twice.* For "
441
455
"example::"
442
456
msgstr ""
457
+ "Se Python transformar sua anotação em string (utilizando ``from __future__ "
458
+ "import annotations``), e você especificar uma string como anotação, essa "
459
+ "string será posta entre aspas. Na prática a anotação receberá aspas *duplas."
460
+ "* Por exemplo::"
443
461
444
462
#: ../../howto/annotations.rst:232
445
463
msgid ""
446
464
"This prints ``{'a': \" 'str'\" }``. This shouldn't really be considered a "
447
465
"\" quirk\" ; it's mentioned here simply because it might be surprising."
448
466
msgstr ""
467
+ "Isso exibe ``{'a': \" 'str'\" }``. Não considere isso como uma "
468
+ "\" peculiaridade\" ; foi mencionado aqui simplesmente porque pode ser "
469
+ "surpreendente."
0 commit comments