@@ -11,15 +11,16 @@ msgstr ""
11
11
"Project-Id-Version : Python 3.8\n "
12
12
"Report-Msgid-Bugs-To : \n "
13
13
"POT-Creation-Date : 2022-10-25 19:47+0200\n "
14
- "PO-Revision-Date : 2021-08-16 13:04+0200\n "
15
- "Last-Translator : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
16
- "Language : es\n "
14
+ "PO-Revision-Date : 2022-10-30 17:20-0300\n "
15
+ "Last-Translator : Sofía Denner <sofi.denner@gmail.com>\n "
17
16
"Language-Team : python-doc-es\n "
18
- "Plural-Forms : nplurals=2; plural=(n != 1); \n "
17
+ "Language : es \n "
19
18
"MIME-Version : 1.0\n "
20
19
"Content-Type : text/plain; charset=utf-8\n "
21
20
"Content-Transfer-Encoding : 8bit\n "
21
+ "Plural-Forms : nplurals=2; plural=(n != 1);\n "
22
22
"Generated-By : Babel 2.10.3\n "
23
+ "X-Generator : Poedit 3.2\n "
23
24
24
25
#: ../Doc/c-api/code.rst:8
25
26
msgid "Code Objects"
@@ -64,7 +65,6 @@ msgid "Return the number of free variables in *co*."
64
65
msgstr "Retorna el número de variables libres en *co*."
65
66
66
67
#: ../Doc/c-api/code.rst:38
67
- #, fuzzy
68
68
msgid ""
69
69
"Return a new code object. If you need a dummy code object to create a "
70
70
"frame, use :c:func:`PyCode_NewEmpty` instead. Calling :c:func:`PyCode_New` "
@@ -74,36 +74,38 @@ msgid ""
74
74
"to result in incorrect execution or VM crashes. Use this function only with "
75
75
"extreme care."
76
76
msgstr ""
77
- "Retorna un nuevo objeto de código. Si necesita un objeto de código ficticio "
78
- "para crear un marco (*frame*), use :c:func:`PyCode_NewEmpty` en su lugar. "
79
- "Llamando :c:func:`PyCode_New` directamente puede enlazarlo a una versión "
80
- "precisa de Python ya que la definición del código de bytes cambia a menudo."
77
+ "Retorna un nuevo objeto de código. Si se necesita un objeto de código "
78
+ "ficticio para crear un marco (*frame*), usar :c:func:`PyCode_NewEmpty` en su "
79
+ "lugar. Llamando :c:func:`PyCode_New` directamente puede enlazarlo a una "
80
+ "versión precisa de Python ya que la definición del código de bytes cambia a "
81
+ "menudo. Muchos de los argumentos de esta función están relacionados "
82
+ "mutuamente de formas complejas, lo cual significa que cambios sutiles en "
83
+ "estos valores probablemente resulten en ejecuciones incorrectas o fallas en "
84
+ "la VM."
81
85
82
86
#: ../Doc/c-api/code.rst:45 ../Doc/c-api/code.rst:55
83
87
msgid "Added ``exceptiontable`` parameter."
84
- msgstr ""
88
+ msgstr "Se agregó el parámetro ``exceptiontable``. "
85
89
86
90
#: ../Doc/c-api/code.rst:50
87
- #, fuzzy
88
91
msgid ""
89
92
"Similar to :c:func:`PyCode_New`, but with an extra \" posonlyargcount\" for "
90
93
"positional-only arguments. The same caveats that apply to ``PyCode_New`` "
91
94
"also apply to this function."
92
95
msgstr ""
93
96
"Similar a :c:func:`PyCode_New`, pero con un \" *posonlyargcount*\" adicional "
94
- "para argumentos solo posicionales."
97
+ "para argumentos solo posicionales. Las mismas advertencias que aplican a "
98
+ "``PyCode_New`` también aplican a esta función."
95
99
96
100
#: ../Doc/c-api/code.rst:60
97
- #, fuzzy
98
101
msgid ""
99
102
"Return a new empty code object with the specified filename, function name, "
100
103
"and first line number. The resulting code object will raise an ``Exception`` "
101
104
"if executed."
102
105
msgstr ""
103
106
"Retorna un nuevo objeto de código vacío con el nombre de archivo "
104
- "especificado, el nombre de la función y el número de la primera línea. Es "
105
- "ilegal utilizar :func:`exec` o :func:`eval` en el objeto de código "
106
- "resultante."
107
+ "especificado, el nombre de la función y el número de la primera línea. Si el "
108
+ "objeto código resultante es ejecutado, lanzará una ``Exception``."
107
109
108
110
#: ../Doc/c-api/code.rst:66
109
111
msgid ""
@@ -116,47 +118,62 @@ msgstr ""
116
118
"un marco, use :c:func:`PyFrame_GetLineNumber` en su lugar."
117
119
118
120
#: ../Doc/c-api/code.rst:69
119
- #, fuzzy
120
121
msgid ""
121
122
"For efficiently iterating over the line numbers in a code object, use `the "
122
123
"API described in PEP 626 <https://peps.python.org/pep-0626/#out-of-process-"
123
124
"debuggers-and-profilers>`_."
124
125
msgstr ""
125
126
"Para iterar de manera eficiente sobre los números de línea en un objeto de "
126
- "código, use `la API descrita en PEP 626 <https://www .python.org/dev/peps /"
127
- "pep-0626/ #out-of-process-debuggers-and-profilers>`_."
127
+ "código, use `la API descrita en PEP 626 <https://peps .python.org/pep-0626 /"
128
+ "#out-of-process-debuggers-and-profilers>`_."
128
129
129
130
#: ../Doc/c-api/code.rst:74
130
131
msgid ""
131
132
"Sets the passed ``int`` pointers to the source code line and column numbers "
132
133
"for the instruction at ``byte_offset``. Sets the value to ``0`` when "
133
134
"information is not available for any particular element."
134
135
msgstr ""
136
+ "Establece los punteros ``int`` pasados en los números de línea y columna del "
137
+ "código fuente para las instrucciones en ``byte_offset``. Establece el valor "
138
+ "en ``0`` cuando la información no está disponible para algún elemento en "
139
+ "particular."
135
140
136
141
#: ../Doc/c-api/code.rst:78
137
142
msgid "Returns ``1`` if the function succeeds and 0 otherwise."
138
- msgstr ""
143
+ msgstr "Retorna ``1`` si la función fue exitosa y ``0`` de lo contrario. "
139
144
140
145
#: ../Doc/c-api/code.rst:82
141
146
msgid ""
142
147
"Equivalent to the Python code ``getattr(co, 'co_code')``. Returns a strong "
143
148
"reference to a :c:type:`PyBytesObject` representing the bytecode in a code "
144
149
"object. On error, ``NULL`` is returned and an exception is raised."
145
150
msgstr ""
151
+ "Equivalente al código Python ``getattr(co, 'co_code')``. Retorna una "
152
+ "referencia fuerte a un :c:type:`PyBytesObject` representando el bytecode en "
153
+ "un objecto código. En caso de error se retorna ``NULL`` y se lanza una "
154
+ "excepción."
146
155
147
156
#: ../Doc/c-api/code.rst:87
148
157
msgid ""
149
158
"This ``PyBytesObject`` may be created on-demand by the interpreter and does "
150
159
"not necessarily represent the bytecode actually executed by CPython. The "
151
160
"primary use case for this function is debuggers and profilers."
152
161
msgstr ""
162
+ "Este ``PyBytesObject`` puede ser creado a pedido del intérprete y no "
163
+ "necesariamente representa el bytecode que es realmente ejecutado por "
164
+ "CPython. Los casos de uso principales para esta función son depuradores y "
165
+ "perfiladores."
153
166
154
167
#: ../Doc/c-api/code.rst:95
155
168
msgid ""
156
169
"Equivalent to the Python code ``getattr(co, 'co_varnames')``. Returns a new "
157
170
"reference to a :c:type:`PyTupleObject` containing the names of the local "
158
171
"variables. On error, ``NULL`` is returned and an exception is raised."
159
172
msgstr ""
173
+ "Equivalente al código Python ``getattr(co, 'co_varnames')``. Retorna una "
174
+ "nueva referencia a un :c:type:`PyTupleObject` que contiene los nombres de "
175
+ "las variables locales. En caso de error, retorna ``NULL`` y lanza una "
176
+ "excepción."
160
177
161
178
#: ../Doc/c-api/code.rst:104
162
179
msgid ""
@@ -165,10 +182,18 @@ msgid ""
165
182
"variables that are referenced by nested functions. On error, ``NULL`` is "
166
183
"returned and an exception is raised."
167
184
msgstr ""
185
+ "Equivalente al código Python ``getattr(co, 'co_cellvars')``. Retorna una "
186
+ "nueva referencia a un :c:type:`PyTupleObject` que contiene los nombres de "
187
+ "las variables locales referenciadas por funciones anidadas. En caso de "
188
+ "error, retorna ``NULL`` y lanza una excepción."
168
189
169
190
#: ../Doc/c-api/code.rst:113
170
191
msgid ""
171
192
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
172
193
"reference to a :c:type:`PyTupleObject` containing the names of the free "
173
194
"variables. On error, ``NULL`` is returned and an exception is raised."
174
195
msgstr ""
196
+ "Equivalente al código Python ``getattr(co, 'co_freevars')``. Retorna una "
197
+ "nueva referencia a un :c:type:`PyTupleObject` que contiene los nombres de "
198
+ "las variables libres. En caso de error, retorna ``NULL`` y lanza una "
199
+ "excepción."
0 commit comments