@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.13\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2025-12-01 15:07+0000\n "
15+ "POT-Creation-Date : 2025-12-15 15:07+0000\n "
1616"PO-Revision-Date : 2025-09-15 01:04+0000\n "
1717"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
1818"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -914,11 +914,9 @@ msgstr ""
914914
915915#: ../../library/functions.rst:337
916916msgid ""
917- "This function raises :exc:`SyntaxError` if the compiled source is invalid, "
918- "and :exc:`ValueError` if the source contains null bytes ."
917+ "This function raises :exc:`SyntaxError` or :exc:`ValueError` if the compiled "
918+ "source is invalid ."
919919msgstr ""
920- "Essa função levanta :exc:`SyntaxError` se o código para compilar é inválido, "
921- "e :exc:`ValueError` se o código contém bytes nulos."
922920
923921#: ../../library/functions.rst:340
924922msgid ""
@@ -1335,37 +1333,22 @@ msgstr ""
13351333
13361334#: ../../library/functions.rst:594
13371335msgid ""
1338- "The *expression * argument is parsed and evaluated as a Python expression "
1336+ "The *source * argument is parsed and evaluated as a Python expression "
13391337"(technically speaking, a condition list) using the *globals* and *locals* "
13401338"mappings as global and local namespace. If the *globals* dictionary is "
13411339"present and does not contain a value for the key ``__builtins__``, a "
13421340"reference to the dictionary of the built-in module :mod:`builtins` is "
1343- "inserted under that key before *expression * is parsed. That way you can "
1344- "control what builtins are available to the executed code by inserting your "
1345- "own ``__builtins__`` dictionary into *globals* before passing it to :func:"
1341+ "inserted under that key before *source * is parsed. That way you can control "
1342+ "what builtins are available to the executed code by inserting your own "
1343+ "``__builtins__`` dictionary into *globals* before passing it to :func:"
13461344"`eval`. If the *locals* mapping is omitted it defaults to the *globals* "
1347- "dictionary. If both mappings are omitted, the expression is executed with "
1348- "the *globals* and *locals* in the environment where :func:`eval` is called. "
1345+ "dictionary. If both mappings are omitted, the source is executed with the "
1346+ "*globals* and *locals* in the environment where :func:`eval` is called. "
13491347"Note, *eval()* will only have access to the :term:`nested scopes <nested "
13501348"scope>` (non-locals) in the enclosing environment if they are already "
13511349"referenced in the scope that is calling :func:`eval` (e.g. via a :keyword:"
13521350"`nonlocal` statement)."
13531351msgstr ""
1354- "O argumento *expression* é analisado e avaliado como uma expressão Python "
1355- "(tecnicamente falando, uma lista de condições) usando os mapeamentos "
1356- "*globals* e *locals* como espaços de nomes globais e locais. Se o dicionário "
1357- "*globals* estiver presente e não contiver um valor para a chave "
1358- "``__builtins__``, uma referência ao dicionário do módulo embutido :mod:"
1359- "`builtins` será inserida sob essa chave antes de *expression* ser analisado. "
1360- "Dessa forma, você pode controlar quais funções embutidas estão disponíveis "
1361- "para o código executado inserindo seu próprio dicionário ``__builtins__`` em "
1362- "*globals* antes de passá-lo para :func:`eval`. Se o mapeamento *locals* for "
1363- "omitido, o padrão será o dicionário *globals*. Se os dois mapeamentos forem "
1364- "omitidos, a expressão será executada com os *globals* e *locals* no ambiente "
1365- "em que :func:`eval` é chamado. Observe que *eval()* terá acesso a :term:"
1366- "`escopos aninhados <nested scope>` (não locais) no ambiente anexo somente se "
1367- "eles já forem referenciados pelo escopo que está chamando :func:`eval` (por "
1368- "exemplo, via uma instrução :keyword:`nonlocal`)."
13691352
13701353#: ../../library/functions.rst:610
13711354msgid "Example:"
0 commit comments