4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # Rafael Fontenelle <rffontenelle@gmail.com>, 2021
8
7
# Raphael Mendonça, 2021
8
+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2024
9
9
#
10
10
#, fuzzy
11
11
msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version : Python 3.13\n "
14
14
"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 "
16
16
"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 "
18
18
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
19
19
"teams/5390/pt_BR/)\n "
20
20
"MIME-Version : 1.0\n "
@@ -30,16 +30,16 @@ msgstr "Reflexão"
30
30
31
31
#: ../../c-api/reflection.rst:12
32
32
msgid "Use :c:func:`PyEval_GetFrameBuiltins` instead."
33
- msgstr ""
33
+ msgstr "Use :c:func:`PyEval_GetFrameBuiltins`. "
34
34
35
35
#: ../../c-api/reflection.rst:14 ../../c-api/reflection.rst:66
36
36
msgid ""
37
37
"Return a dictionary of the builtins in the current execution frame, or the "
38
38
"interpreter of the thread state if no frame is currently executing."
39
39
msgstr ""
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."
43
43
44
44
#: ../../c-api/reflection.rst:22
45
45
msgid ""
@@ -48,18 +48,27 @@ msgid ""
48
48
"`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` to access "
49
49
"the :attr:`~frame.f_locals` attribute of the currently executing frame."
50
50
msgstr ""
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."
51
55
52
56
#: ../../c-api/reflection.rst:27
53
57
msgid ""
54
58
"Return a mapping providing access to the local variables in the current "
55
59
"execution frame, or ``NULL`` if no frame is currently executing."
56
60
msgstr ""
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."
57
64
58
65
#: ../../c-api/reflection.rst:30
59
66
msgid ""
60
67
"Refer to :func:`locals` for details of the mapping returned at different "
61
68
"scopes."
62
69
msgstr ""
70
+ "Consulte :func:`locals` para detalhes do mapeamento retornado em diferentes "
71
+ "escopos."
63
72
64
73
#: ../../c-api/reflection.rst:32
65
74
msgid ""
@@ -71,6 +80,13 @@ msgid ""
71
80
"to reflect changes in the state of the local variables rather than returning "
72
81
"a new snapshot."
73
82
msgstr ""
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."
74
90
75
91
#: ../../c-api/reflection.rst:39
76
92
msgid ""
@@ -79,10 +95,14 @@ msgid ""
79
95
"cache dictionary. Refer to the :ref:`What's New entry <whatsnew313-locals-"
80
96
"semantics>` for additional details."
81
97
msgstr ""
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."
82
102
83
103
#: ../../c-api/reflection.rst:50
84
104
msgid "Use :c:func:`PyEval_GetFrameGlobals` instead."
85
- msgstr ""
105
+ msgstr "Use :c:func:`PyEval_GetFrameGlobals`. "
86
106
87
107
#: ../../c-api/reflection.rst:52
88
108
msgid ""
@@ -110,20 +130,29 @@ msgid ""
110
130
"or ``NULL`` if no frame is currently executing. Equivalent to calling :func:"
111
131
"`locals` in Python code."
112
132
msgstr ""
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."
113
136
114
137
#: ../../c-api/reflection.rst:78
115
138
msgid ""
116
139
"To access :attr:`~frame.f_locals` on the current frame without making an "
117
140
"independent snapshot in :term:`optimized scopes <optimized scope>`, call :c:"
118
141
"func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`."
119
142
msgstr ""
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`."
120
146
121
147
#: ../../c-api/reflection.rst:87
122
148
msgid ""
123
149
"Return a dictionary of the global variables in the current execution frame, "
124
150
"or ``NULL`` if no frame is currently executing. Equivalent to calling :func:"
125
151
"`globals` in Python code."
126
152
msgstr ""
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."
127
156
128
157
#: ../../c-api/reflection.rst:96
129
158
msgid ""
@@ -141,6 +170,6 @@ msgid ""
141
170
"`PyEval_GetFuncName`, the result will be a description of *func*."
142
171
msgstr ""
143
172
"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 :"
146
175
"c:func:`PyEval_GetFuncName`, o resultado será uma descrição de *func*."
0 commit comments