@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.14\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2025-12-01 14:16 +0000\n "
16+ "POT-Creation-Date : 2025-12-15 14:20 +0000\n "
1717"PO-Revision-Date : 2025-09-16 00:01+0000\n "
1818"Last-Translator : Adorilson Bezerra <adorilson@gmail.com>, 2025\n "
1919"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -915,11 +915,9 @@ msgstr ""
915915
916916#: ../../library/functions.rst:337
917917msgid ""
918- "This function raises :exc:`SyntaxError` if the compiled source is invalid, "
919- "and :exc:`ValueError` if the source contains null bytes ."
918+ "This function raises :exc:`SyntaxError` or :exc:`ValueError` if the compiled "
919+ "source is invalid ."
920920msgstr ""
921- "Essa função levanta :exc:`SyntaxError` se o código para compilar é inválido, "
922- "e :exc:`ValueError` se o código contém bytes nulos."
923921
924922#: ../../library/functions.rst:340
925923msgid ""
@@ -1352,37 +1350,22 @@ msgstr ""
13521350
13531351#: ../../library/functions.rst:600
13541352msgid ""
1355- "The *expression * argument is parsed and evaluated as a Python expression "
1353+ "The *source * argument is parsed and evaluated as a Python expression "
13561354"(technically speaking, a condition list) using the *globals* and *locals* "
13571355"mappings as global and local namespace. If the *globals* dictionary is "
13581356"present and does not contain a value for the key ``__builtins__``, a "
13591357"reference to the dictionary of the built-in module :mod:`builtins` is "
1360- "inserted under that key before *expression * is parsed. That way you can "
1361- "control what builtins are available to the executed code by inserting your "
1362- "own ``__builtins__`` dictionary into *globals* before passing it to :func:"
1358+ "inserted under that key before *source * is parsed. That way you can control "
1359+ "what builtins are available to the executed code by inserting your own "
1360+ "``__builtins__`` dictionary into *globals* before passing it to :func:"
13631361"`eval`. If the *locals* mapping is omitted it defaults to the *globals* "
1364- "dictionary. If both mappings are omitted, the expression is executed with "
1365- "the *globals* and *locals* in the environment where :func:`eval` is called. "
1362+ "dictionary. If both mappings are omitted, the source is executed with the "
1363+ "*globals* and *locals* in the environment where :func:`eval` is called. "
13661364"Note, *eval()* will only have access to the :term:`nested scopes <nested "
13671365"scope>` (non-locals) in the enclosing environment if they are already "
13681366"referenced in the scope that is calling :func:`eval` (e.g. via a :keyword:"
13691367"`nonlocal` statement)."
13701368msgstr ""
1371- "O argumento *expression* é analisado e avaliado como uma expressão Python "
1372- "(tecnicamente falando, uma lista de condições) usando os mapeamentos "
1373- "*globals* e *locals* como espaços de nomes globais e locais. Se o dicionário "
1374- "*globals* estiver presente e não contiver um valor para a chave "
1375- "``__builtins__``, uma referência ao dicionário do módulo embutido :mod:"
1376- "`builtins` será inserida sob essa chave antes de *expression* ser analisado. "
1377- "Dessa forma, você pode controlar quais funções embutidas estão disponíveis "
1378- "para o código executado inserindo seu próprio dicionário ``__builtins__`` em "
1379- "*globals* antes de passá-lo para :func:`eval`. Se o mapeamento *locals* for "
1380- "omitido, o padrão será o dicionário *globals*. Se os dois mapeamentos forem "
1381- "omitidos, a expressão será executada com os *globals* e *locals* no ambiente "
1382- "em que :func:`eval` é chamado. Observe que *eval()* terá acesso a :term:"
1383- "`escopos aninhados <nested scope>` (não locais) no ambiente anexo somente se "
1384- "eles já forem referenciados pelo escopo que está chamando :func:`eval` (por "
1385- "exemplo, via uma instrução :keyword:`nonlocal`)."
13861369
13871370#: ../../library/functions.rst:616
13881371msgid "Example:"
0 commit comments