Skip to content

Commit ce9673e

Browse files
authored
Object po minor fixes (#1589)
* Traducida última línea y otros cambios menores * Actualizado el código en una de las preguntas
1 parent ca17ee2 commit ce9673e

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

c-api/object.po

+12-7
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
14-
"PO-Revision-Date: 2021-08-16 13:01+0200\n"
14+
"PO-Revision-Date: 2021-10-29 14:59-0300\n"
1515
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
1616
"Language: es\n"
1717
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
18+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=utf-8\n"
2121
"Content-Transfer-Encoding: 8bit\n"
2222
"Generated-By: Babel 2.9.1\n"
23+
"X-Generator: Poedit 2.3\n"
2324

2425
#: ../Doc/c-api/object.rst:6
2526
msgid "Object Protocol"
@@ -447,13 +448,13 @@ msgstr ""
447448
"excepto cuando se necesita el recuento de referencias incrementado."
448449

449450
#: ../Doc/c-api/object.rst:300
450-
#, fuzzy
451451
msgid ""
452452
"Return non-zero if the object *o* is of type *type* or a subtype of *type*, "
453453
"and ``0`` otherwise. Both parameters must be non-``NULL``."
454454
msgstr ""
455-
"Retorna verdadero si el objeto *o* es de tipo *type* o un subtipo de *type*. "
456-
"Ambos parámetros no deben ser ``NULL``."
455+
"Retorna un valor no-nulo si el objeto *o* es de tipo *type* o un subtipo de "
456+
"*type*, y ``0`` en cualquier otro caso. Ninguno de los dos parámetros debe "
457+
"ser ``NULL``."
457458

458459
#: ../Doc/c-api/object.rst:309
459460
msgid ""
@@ -468,7 +469,6 @@ msgstr ""
468469
"Python ``len(o)``."
469470

470471
#: ../Doc/c-api/object.rst:316
471-
#, fuzzy
472472
msgid ""
473473
"Return an estimated length for the object *o*. First try to return its "
474474
"actual length, then an estimate using :meth:`~object.__length_hint__`, and "
@@ -480,7 +480,7 @@ msgstr ""
480480
"su longitud real, luego una estimación usando :meth:`~object."
481481
"__length_hint__`, y finalmente retorna el valor predeterminado. En caso de "
482482
"error, retorna ``-1``. Este es el equivalente a la expresión de Python "
483-
"``operator.length_hint (o, default)``."
483+
"``operator.length_hint(o, defaultvalue)``."
484484

485485
#: ../Doc/c-api/object.rst:326
486486
msgid ""
@@ -546,6 +546,11 @@ msgid ""
546546
"`AsyncIterator`, this returns itself. Raises :exc:`TypeError` and returns "
547547
"``NULL`` if the object cannot be iterated."
548548
msgstr ""
549+
"Esto es equivalente a la expresión de Python ``aiter(o)``. Toma un objeto :"
550+
"class:`AsyncIterable` y retorna :class:`AsyncIterator`. Este es típicamente "
551+
"un nuevo iterador, pero si el argumento es :class:`AsyncIterator`, se "
552+
"retornará a sí mismo. Lanza :exc:`TypeError` y retorna ``NULL`` si el objeto "
553+
"no puede ser iterado."
549554

550555
#~ msgid ""
551556
#~ "Determine if the object *o* is callable. Return ``1`` if the object is "

0 commit comments

Comments
 (0)