Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit396cc13

Browse files
Sublianrtobar
andauthored
primera traduccion (#3396)
Closes#3272---------Co-authored-by: rtobar <rtobarc@gmail.com>
1 parentcacb339 commit396cc13

File tree

1 file changed

+57
-36
lines changed

1 file changed

+57
-36
lines changed

‎c-api/reflection.po

Lines changed: 57 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -11,44 +11,49 @@ msgstr ""
1111
"Project-Id-Version:Python 3.8\n"
1212
"Report-Msgid-Bugs-To:\n"
1313
"POT-Creation-Date:2024-11-21 16:38-0300\n"
14-
"PO-Revision-Date:2021-12-09 10:32+0800\n"
14+
"PO-Revision-Date:2025-05-15 13:52-0500\n"
1515
"Last-Translator:Rodrigo Tobar <rtobarc@gmail.com>\n"
16-
"Language:es\n"
1716
"Language-Team:python-doc-es\n"
18-
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
17+
"Language:es\n"
1918
"MIME-Version:1.0\n"
2019
"Content-Type:text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding:8bit\n"
21+
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
2222
"Generated-By:Babel 2.16.0\n"
23+
"X-Generator:Poedit 3.6\n"
2324

2425
#:../Doc/c-api/reflection.rst:6
2526
msgid"Reflection"
2627
msgstr"Reflexión"
2728

2829
#:../Doc/c-api/reflection.rst:12
29-
#,fuzzy
3030
msgid"Use :c:func:`PyEval_GetFrameBuiltins` instead."
31-
msgstr"Vea también:c:func:`PyThreadState_GetFrame`."
31+
msgstr"Utilice:c:func:`PyEval_GetFrameBuiltins` en su lugar."
3232

3333
#:../Doc/c-api/reflection.rst:14../Doc/c-api/reflection.rst:66
3434
msgid""
3535
"Return a dictionary of the builtins in the current execution frame, or the "
3636
"interpreter of the thread state if no frame is currently executing."
3737
msgstr""
38-
"Retorna un diccionario delas construcciones en el marco de ejecución "
39-
"actual, oel intérprete del estado del hilo si nose está ejecutando ningún "
40-
"marcoactualmente."
38+
"Retorna un diccionario delos builtins en el marco de ejecución actual, o "
39+
"el intérprete del estado del hilo si nohay ningún marco en ejecución "
40+
"actualmente."
4141

4242
#:../Doc/c-api/reflection.rst:22
4343
msgid""
4444
"Use either :c:func:`PyEval_GetFrameLocals` to obtain the same behaviour as "
45-
"calling :func:`locals` in Python code, or else call :c:func:"
46-
"`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` to access "
47-
"the :attr:`~frame.f_locals` attribute of the currently executing frame."
45+
"calling :func:`locals` in Python code, or else "
46+
"call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame` "
47+
"to access the :attr:`~frame.f_locals` attribute of the currently executing "
48+
"frame."
4849
msgstr""
50+
"Utilice :c:func:`PyEval_GetFrameLocals` para obtener el mismo comportamiento "
51+
"que llamando a :func:`locals` en código Python, o bien llama "
52+
"a :c:func:`PyFrame_GetLocals` sobre el resultado "
53+
"de :c:func:`PyEval_GetFrame` para acceder al "
54+
"atributo :attr:`~frame.f_locals` del frame actualmente en ejecución."
4955

5056
#:../Doc/c-api/reflection.rst:27
51-
#,fuzzy
5257
msgid""
5358
"Return a mapping providing access to the local variables in the current "
5459
"execution frame, or ``NULL`` if no frame is currently executing."
@@ -61,30 +66,42 @@ msgid ""
6166
"Refer to :func:`locals` for details of the mapping returned at different "
6267
"scopes."
6368
msgstr""
69+
"Consulte :func:`locals` para obtener más información sobre el mapeo "
70+
"retornado en diferentes ámbitos."
6471

6572
#:../Doc/c-api/reflection.rst:32
6673
msgid""
6774
"As this function returns a :term:`borrowed reference`, the dictionary "
6875
"returned for :term:`optimized scopes <optimized scope>` is cached on the "
69-
"frame object and will remain alive as long as the frame object does.Unlike :"
70-
"c:func:`PyEval_GetFrameLocals` and :func:`locals`, subsequent calls to this "
71-
"function in the same frame will update the contents of the cached dictionary "
72-
"to reflect changes in the state of the local variables rather than returning "
73-
"a new snapshot."
76+
"frame object and will remain alive as long as the frame object does. "
77+
"Unlike :c:func:`PyEval_GetFrameLocals` and :func:`locals`, subsequent calls "
78+
"to thisfunction in the same frame will update the contents of the cached "
79+
"dictionaryto reflect changes in the state of the local variables rather "
80+
"than returninga new snapshot."
7481
msgstr""
82+
"Como esta función retorna una :term:`referencia prestada`, el diccionario "
83+
"retornado para :term:`ámbitos optimizados <optimized scope>` se almacena en "
84+
"caché en el objeto marco y permanecerá vivo mientras lo haga el marco del "
85+
"objeto. A diferencia de :c:func:`PyEval_GetFrameLocals` y :func:`locals`, "
86+
"las llamadas posteriores a esta función en el mismo marco actualizarán el "
87+
"contenido del diccionario en caché para reflejar los cambios en el estado de "
88+
"las variables locales en lugar de retornar una nueva instantánea."
7589

7690
#:../Doc/c-api/reflection.rst:39
7791
msgid""
78-
"As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`,and :"
79-
"attr:`FrameType.f_locals <frame.f_locals>` no longer make use of the shared "
80-
"cache dictionary. Refer to the :ref:`What's New entry <whatsnew313-locals-"
81-
"semantics>` for additional details."
92+
"As part of :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, "
93+
"and :attr:`FrameType.f_locals <frame.f_locals>` no longer make use of the "
94+
"sharedcache dictionary. Refer to the :ref:`What's New entry <whatsnew313-"
95+
"locals-semantics>` for additional details."
8296
msgstr""
97+
"Como parte de :pep:`667`, :c:func:`PyFrame_GetLocals`, :func:`locals`, "
98+
"y :attr:`FrameType.f_locals <frame.f_locals>` ya no utilizan el diccionario "
99+
"de caché compartido. Consulte la entrada :ref:`What's New <whatsnew313-"
100+
"locals-semantics>` para más detalles."
83101

84102
#:../Doc/c-api/reflection.rst:50
85-
#,fuzzy
86103
msgid"Use :c:func:`PyEval_GetFrameGlobals` instead."
87-
msgstr"Vea también:c:func:`PyThreadState_GetFrame`."
104+
msgstr"Utilice:c:func:`PyEval_GetFrameGlobals` en su lugar."
88105

89106
#:../Doc/c-api/reflection.rst:52
90107
msgid""
@@ -107,31 +124,35 @@ msgid "See also :c:func:`PyThreadState_GetFrame`."
107124
msgstr"Vea también :c:func:`PyThreadState_GetFrame`."
108125

109126
#:../Doc/c-api/reflection.rst:74
110-
#,fuzzy
111127
msgid""
112128
"Return a dictionary of the local variables in the current execution frame, "
113-
"or ``NULL`` if no frame is currently executing. Equivalent tocalling :func:"
114-
"`locals` in Python code."
129+
"or ``NULL`` if no frame is currently executing. Equivalent to "
130+
"calling :func:`locals` in Python code."
115131
msgstr""
116132
"Retorna un diccionario de las variables locales en el marco de ejecución "
117-
"actual, o ``NULL`` si actualmente no se está ejecutando ningún marco."
133+
"actual, o ``NULL`` si no se está ejecutando ningún marco. Equivale a llamar "
134+
"a :func:`locals` en código Python."
118135

119136
#:../Doc/c-api/reflection.rst:78
120137
msgid""
121138
"To access :attr:`~frame.f_locals` on the current frame without making an "
122-
"independent snapshot in :term:`optimized scopes <optimized scope>`,call :c:"
123-
"func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`."
139+
"independent snapshot in :term:`optimized scopes <optimized scope>`, "
140+
"call :c:func:`PyFrame_GetLocals` on the result of :c:func:`PyEval_GetFrame`."
124141
msgstr""
142+
"Para acceder a :attr:`~frame.f_locals` en el marco actual sin hacer una "
143+
"captura independiente en :term:`ámbitos optimizados <optimized scope>`, llame "
144+
"a :c:func:`PyFrame_GetLocals` sobre el resultado "
145+
"de :c:func:`PyEval_GetFrame`."
125146

126147
#:../Doc/c-api/reflection.rst:87
127-
#,fuzzy
128148
msgid""
129149
"Return a dictionary of the global variables in the current execution frame, "
130-
"or ``NULL`` if no frame is currently executing. Equivalent tocalling :func:"
131-
"`globals` in Python code."
150+
"or ``NULL`` if no frame is currently executing. Equivalent to "
151+
"calling :func:`globals` in Python code."
132152
msgstr""
133-
"Retorna un diccionario de las variables globales en el marco de ejecución "
134-
"actual, o ``NULL`` si actualmente no se está ejecutando ningún marco."
153+
"Retorna un diccionario de las variables locales en el marco de ejecución "
154+
"actual, o ``NULL`` si no se está ejecutando ningún marco. Equivale a llamar "
155+
"a :func:`globals` en código Python."
135156

136157
#:../Doc/c-api/reflection.rst:96
137158
msgid""
@@ -145,8 +166,8 @@ msgstr ""
145166
msgid""
146167
"Return a description string, depending on the type of *func*. Return values "
147168
"include\"()\" for functions and methods,\" constructor\",\" instance\", "
148-
"and\" object\". Concatenated with the resultof :c:func:"
149-
"`PyEval_GetFuncName`, the result will be a description of *func*."
169+
"and\" object\". Concatenated with the result "
170+
"of :c:func:`PyEval_GetFuncName`, the result will be a description of *func*."
150171
msgstr""
151172
"Retorna una cadena de caracteres de descripción, según el tipo de *func*. "
152173
"Los valores de retorno incluyen\"()\" para funciones y métodos, "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp