@@ -11,15 +11,16 @@ msgstr ""
1111"Project-Id-Version : Python 3.8\n "
1212"Report-Msgid-Bugs-To : \n "
1313"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 "
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.10.3\n "
23+ "X-Generator : Poedit 3.2\n "
2324
2425#: ../Doc/c-api/object.rst:6
2526msgid "Object Protocol"
@@ -136,23 +137,22 @@ msgstr ""
136137"``o.attr_name = v``."
137138
138139#: ../Doc/c-api/object.rst:84
139- #, fuzzy
140140msgid ""
141141"If *v* is ``NULL``, the attribute is deleted. This behaviour is deprecated "
142142"in favour of using :c:func:`PyObject_DelAttr`, but there are currently no "
143143"plans to remove it."
144144msgstr ""
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."
147148
148149#: ../Doc/c-api/object.rst:96
149- #, fuzzy
150150msgid ""
151151"If *v* is ``NULL``, the attribute is deleted, but this feature is deprecated "
152152"in favour of using :c:func:`PyObject_DelAttrString`."
153153msgstr ""
154154"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`."
156156
157157#: ../Doc/c-api/object.rst:102
158158msgid ""
@@ -199,10 +199,15 @@ msgid ""
199199"efficient to call :c:func:`PyObject_GetAttr` when accessing an attribute on "
200200"the object."
201201msgstr ""
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."
202207
203208#: ../Doc/c-api/object.rst:135
204209msgid "On failure, returns ``NULL`` with an exception set."
205- msgstr ""
210+ msgstr "En caso de fallo, retorna ``NULL`` con una excepción establecida. "
206211
207212#: ../Doc/c-api/object.rst:142
208213msgid ""
@@ -217,13 +222,18 @@ msgid ""
217222"Return a pointer to :py:attr:`~object.__dict__` of the object *obj*. If "
218223"there is no ``__dict__``, return ``NULL`` without setting an exception."
219224msgstr ""
225+ "Retorna un puntero al :py:attr:`~object.__dict__` del objeto *obj*. Si no "
226+ "hay ``__dict__``, retorna ``NULL`` sin establecer una excepción."
220227
221228#: ../Doc/c-api/object.rst:153
222229msgid ""
223230"This function may need to allocate memory for the dictionary, so it may be "
224231"more efficient to call :c:func:`PyObject_GetAttr` when accessing an "
225232"attribute on the object."
226233msgstr ""
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."
227237
228238#: ../Doc/c-api/object.rst:160
229239msgid ""
@@ -418,13 +428,12 @@ msgstr ""
418428"``-1``. Este es el equivalente de la expresión de Python ``hash(o)``."
419429
420430#: ../Doc/c-api/object.rst:277
421- #, fuzzy
422431msgid ""
423432"The return type is now Py_hash_t. This is a signed integer the same size "
424433"as :c:type:`Py_ssize_t`."
425434msgstr ""
426435"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` ."
428437
429438#: ../Doc/c-api/object.rst:284
430439msgid ""
@@ -459,7 +468,6 @@ msgstr ""
459468"de error, retorna ``-1``."
460469
461470#: ../Doc/c-api/object.rst:308
462- #, fuzzy
463471msgid ""
464472"When *o* is non-``NULL``, returns a type object corresponding to the object "
465473"type of object *o*. On failure, raises :exc:`SystemError` and returns "
@@ -473,9 +481,9 @@ msgstr ""
473481"de objeto del objeto *o*. En caso de falla, lanza :exc:`SystemError` y "
474482"retorna ``NULL``. Esto es equivalente a la expresión de Python ``type(o)``. "
475483"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."
479487
480488#: ../Doc/c-api/object.rst:319
481489msgid ""
0 commit comments