@@ -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-10-29 14:59-0300\n "
15
- "Last-Translator : Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
16
- "Language : es\n "
14
+ "PO-Revision-Date : 2022-10-31 19:22-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/object.rst:6
25
26
msgid "Object Protocol"
@@ -136,23 +137,22 @@ msgstr ""
136
137
"``o.attr_name = v``."
137
138
138
139
#: ../Doc/c-api/object.rst:84
139
- #, fuzzy
140
140
msgid ""
141
141
"If *v* is ``NULL``, the attribute is deleted. This behaviour is deprecated "
142
142
"in favour of using :c:func:`PyObject_DelAttr`, but there are currently no "
143
143
"plans to remove it."
144
144
msgstr ""
145
- "Si *v* es ``NULL``, el atributo se elimina, sin embargo, esta característica "
146
- "está obsoleta a favor de usar :c:func:`PyObject_DelAttr`."
145
+ "Si *v* es ``NULL``, el atributo se elimina. Este comportamiento está "
146
+ "deprecado en favor de usar :c:func:`PyObject_DelAttr`, pero por el momento "
147
+ "no hay planes de quitarlo."
147
148
148
149
#: ../Doc/c-api/object.rst:96
149
- #, fuzzy
150
150
msgid ""
151
151
"If *v* is ``NULL``, the attribute is deleted, but this feature is deprecated "
152
152
"in favour of using :c:func:`PyObject_DelAttrString`."
153
153
msgstr ""
154
154
"Si *v* es ``NULL``, el atributo se elimina, sin embargo, esta característica "
155
- "está obsoleta a favor de usar :c:func:`PyObject_DelAttrString`."
155
+ "está deprecada en favor de usar :c:func:`PyObject_DelAttrString`."
156
156
157
157
#: ../Doc/c-api/object.rst:102
158
158
msgid ""
@@ -199,10 +199,15 @@ msgid ""
199
199
"efficient to call :c:func:`PyObject_GetAttr` when accessing an attribute on "
200
200
"the object."
201
201
msgstr ""
202
+ "Esta función también puede ser llamada para obtener el :py:attr:`~object."
203
+ "__dict__` del objeto *o*. Se pasa *context* igual a ``NULL`` cuando se lo "
204
+ "llama. Dado que esta función puede necesitar asignar memoria para el "
205
+ "diccionario, puede ser más eficiente llamar a :c:func:`PyObject_GetAttr` "
206
+ "para acceder a un atributo del objeto."
202
207
203
208
#: ../Doc/c-api/object.rst:135
204
209
msgid "On failure, returns ``NULL`` with an exception set."
205
- msgstr ""
210
+ msgstr "En caso de fallo, retorna ``NULL`` con una excepción establecida. "
206
211
207
212
#: ../Doc/c-api/object.rst:142
208
213
msgid ""
@@ -217,13 +222,18 @@ msgid ""
217
222
"Return a pointer to :py:attr:`~object.__dict__` of the object *obj*. If "
218
223
"there is no ``__dict__``, return ``NULL`` without setting an exception."
219
224
msgstr ""
225
+ "Retorna un puntero al :py:attr:`~object.__dict__` del objeto *obj*. Si no "
226
+ "hay ``__dict__``, retorna ``NULL`` sin establecer una excepción."
220
227
221
228
#: ../Doc/c-api/object.rst:153
222
229
msgid ""
223
230
"This function may need to allocate memory for the dictionary, so it may be "
224
231
"more efficient to call :c:func:`PyObject_GetAttr` when accessing an "
225
232
"attribute on the object."
226
233
msgstr ""
234
+ "Esta función puede necesitar asignar memoria para el diccionario, por lo que "
235
+ "puede ser más eficiente llamar a :c:func:`PyObject_GetAttr` para acceder a "
236
+ "un atributo del objeto."
227
237
228
238
#: ../Doc/c-api/object.rst:160
229
239
msgid ""
@@ -418,13 +428,12 @@ msgstr ""
418
428
"``-1``. Este es el equivalente de la expresión de Python ``hash(o)``."
419
429
420
430
#: ../Doc/c-api/object.rst:277
421
- #, fuzzy
422
431
msgid ""
423
432
"The return type is now Py_hash_t. This is a signed integer the same size "
424
433
"as :c:type:`Py_ssize_t`."
425
434
msgstr ""
426
435
"El tipo de retorno ahora es *Py_hash_t*. Este es un entero con signo del "
427
- "mismo tamaño que * Py_ssize_t* ."
436
+ "mismo tamaño que :c:type:` Py_ssize_t` ."
428
437
429
438
#: ../Doc/c-api/object.rst:284
430
439
msgid ""
@@ -459,7 +468,6 @@ msgstr ""
459
468
"de error, retorna ``-1``."
460
469
461
470
#: ../Doc/c-api/object.rst:308
462
- #, fuzzy
463
471
msgid ""
464
472
"When *o* is non-``NULL``, returns a type object corresponding to the object "
465
473
"type of object *o*. On failure, raises :exc:`SystemError` and returns "
@@ -473,9 +481,9 @@ msgstr ""
473
481
"de objeto del objeto *o*. En caso de falla, lanza :exc:`SystemError` y "
474
482
"retorna ``NULL``. Esto es equivalente a la expresión de Python ``type(o)``. "
475
483
"Esta función incrementa el recuento de referencia del valor de retorno. "
476
- "Realmente no hay razón para usar esta función en lugar de la expresión común "
477
- "``o->ob_type`` , que retorna un puntero de tipo :c:type :`PyTypeObject*`, "
478
- "excepto cuando se necesita el recuento de referencias incrementado."
484
+ "Realmente no hay razón para usar esta función en lugar de la función :c:func: "
485
+ "`Py_TYPE()` , que retorna un puntero de tipo :c:expr :`PyTypeObject*`, excepto "
486
+ "cuando se necesita el recuento de referencias incrementado."
479
487
480
488
#: ../Doc/c-api/object.rst:319
481
489
msgid ""
0 commit comments