44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # Rafael Fontenelle <rffontenelle@gmail.com>, 2021
87# Raphael Mendonça, 2021
8+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2024
99#
1010#, fuzzy
1111msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.13\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2024-06-07 14:15+0000\n "
15+ "POT-Creation-Date : 2024-06-28 14:15+0000\n "
1616"PO-Revision-Date : 2021-06-28 00:50+0000\n "
17- "Last-Translator : Raphael Mendonça, 2021 \n "
17+ "Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024 \n "
1818"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
1919"teams/5390/pt_BR/)\n "
2020"MIME-Version : 1.0\n "
@@ -30,16 +30,16 @@ msgstr "Reflexão"
3030
3131#: ../../c-api/reflection.rst:12
3232msgid "Use :c:func:`PyEval_GetFrameBuiltins` instead."
33- msgstr ""
33+ msgstr "Use :c:func:`PyEval_GetFrameBuiltins`. "
3434
3535#: ../../c-api/reflection.rst:14 ../../c-api/reflection.rst:66
3636msgid ""
3737"Return a dictionary of the builtins in the current execution frame, or the "
3838"interpreter of the thread state if no frame is currently executing."
3939msgstr ""
40- "Retorna um dicionário dos componentes internos no quadro de execução atual "
41- "ou o interpretador do estado do encadeamento , se nenhum quadro estiver em "
42- "execução no momento."
40+ "Retorna um dicionário dos componentes embutidos no quadro de execução atual "
41+ "ou o interpretador do estado da thread , se nenhum quadro estiver em execução "
42+ "no momento."
4343
4444#: ../../c-api/reflection.rst:22
4545msgid ""
@@ -48,18 +48,27 @@ msgid ""
4848"`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` to access "
4949"the :attr:`~frame.f_locals` attribute of the currently executing frame."
5050msgstr ""
51+ "Use :c:func:`PyEval_GetFrameLocals` para obter o mesmo comportamento que "
52+ "chamar :func:`locals` no código Python, ou então chame :c:func:"
53+ "`PyFrame_GetLocals` no resultado de :c:func:`PyEval_GetFrame` para acessar o "
54+ "atributo :attr:`~frame.f_locals` do quadro atualmente em execução."
5155
5256#: ../../c-api/reflection.rst:27
5357msgid ""
5458"Return a mapping providing access to the local variables in the current "
5559"execution frame, or ``NULL`` if no frame is currently executing."
5660msgstr ""
61+ "Retorna um mapeamento fornecendo acesso às variáveis locais no quadro de "
62+ "execução atual ou ``NULL`` se nenhum quadro estiver sendo executado no "
63+ "momento."
5764
5865#: ../../c-api/reflection.rst:30
5966msgid ""
6067"Refer to :func:`locals` for details of the mapping returned at different "
6168"scopes."
6269msgstr ""
70+ "Consulte :func:`locals` para detalhes do mapeamento retornado em diferentes "
71+ "escopos."
6372
6473#: ../../c-api/reflection.rst:32
6574msgid ""
@@ -71,6 +80,13 @@ msgid ""
7180"to reflect changes in the state of the local variables rather than returning "
7281"a new snapshot."
7382msgstr ""
83+ "Como esta função retorna uma :term:`referência emprestada`, o dicionário "
84+ "retornado para :term:`escopos otimizados <optimized scope>` é armazenado em "
85+ "cache no objeto frame e permanecerá ativo enquanto o objeto frame o fizer. "
86+ "Ao contrário de :c:func:`PyEval_GetFrameLocals` e :func:`locals`, chamadas "
87+ "subsequentes para esta função no mesmo quadro atualizarão o conteúdo do "
88+ "dicionário em cache para refletir as mudanças no estado das variáveis locais "
89+ "em vez de retornar um novo snapshot."
7490
7591#: ../../c-api/reflection.rst:39
7692msgid ""
@@ -79,10 +95,14 @@ msgid ""
7995"cache dictionary. Refer to the :ref:`What's New entry <whatsnew313-locals-"
8096"semantics>` for additional details."
8197msgstr ""
98+ "Como parte da :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals` e :"
99+ "attr:`FrameType.f_locals <frame.f_locals>` não fazem mais uso do dicionário "
100+ "de cache compartilhado. Consulte a :ref:`entrada de O Que Há de Novo "
101+ "<whatsnew313-locals-semantics>` para detalhes adicionais."
82102
83103#: ../../c-api/reflection.rst:50
84104msgid "Use :c:func:`PyEval_GetFrameGlobals` instead."
85- msgstr ""
105+ msgstr "Use :c:func:`PyEval_GetFrameGlobals`. "
86106
87107#: ../../c-api/reflection.rst:52
88108msgid ""
@@ -110,20 +130,29 @@ msgid ""
110130"or ``NULL`` if no frame is currently executing. Equivalent to calling :func:"
111131"`locals` in Python code."
112132msgstr ""
133+ "Retorna um dicionário das variáveis locais no quadro de execução atual ou "
134+ "``NULL`` se nenhum quadro estiver sendo executado no momento. Equivalente a "
135+ "chamar :func:`locals` em código Python."
113136
114137#: ../../c-api/reflection.rst:78
115138msgid ""
116139"To access :attr:`~frame.f_locals` on the current frame without making an "
117140"independent snapshot in :term:`optimized scopes <optimized scope>`, call :c:"
118141"func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`."
119142msgstr ""
143+ "Para acessar :attr:`~frame.f_locals` no quadro atual sem fazer um snapshot "
144+ "independente em :term:`escopos otimizados <optimized scope>`, chame :c:func:"
145+ "`PyFrame_GetLocals` no resultado de :c:func:`PyEval_GetFrame`."
120146
121147#: ../../c-api/reflection.rst:87
122148msgid ""
123149"Return a dictionary of the global variables in the current execution frame, "
124150"or ``NULL`` if no frame is currently executing. Equivalent to calling :func:"
125151"`globals` in Python code."
126152msgstr ""
153+ "Retorna um dicionário das variáveis globais no quadro de execução atual ou "
154+ "``NULL`` se nenhum quadro estiver sendo executado no momento. Equivalente a "
155+ "chamar :func:`globals` em código Python."
127156
128157#: ../../c-api/reflection.rst:96
129158msgid ""
@@ -141,6 +170,6 @@ msgid ""
141170"`PyEval_GetFuncName`, the result will be a description of *func*."
142171msgstr ""
143172"Retorna uma sequência de caracteres de descrição, dependendo do tipo de "
144- "*func*. Os valores de retorno incluem \" ()\" para funções e métodos, "
145- "\" construtor \" , \" instância \" e \" objeto \" . Concatenado com o resultado de :"
173+ "*func*. Os valores de retorno incluem \" ()\" para funções e métodos, \" "
174+ "constructor \" , \" instance \" e \" object \" . . Concatenado com o resultado de :"
146175"c:func:`PyEval_GetFuncName`, o resultado será uma descrição de *func*."
0 commit comments