@@ -10,15 +10,15 @@ msgid ""
10
10
msgstr ""
11
11
"Project-Id-Version :Python 3.8\n "
12
12
"Report-Msgid-Bugs-To :\n "
13
- "POT-Creation-Date :2021-10-16 21:42+0200 \n "
13
+ "POT-Creation-Date :2022-01-25 13:19+0100 \n "
14
14
"PO-Revision-Date :2021-08-16 13:04+0200\n "
15
15
"Last-Translator :Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n "
16
- "Language-Team :python-doc-es\n "
17
16
"Language :es\n "
17
+ "Language-Team :python-doc-es\n "
18
+ "Plural-Forms :nplurals=2; plural=(n != 1)\n "
18
19
"MIME-Version :1.0\n "
19
20
"Content-Type :text/plain; charset=utf-8\n "
20
21
"Content-Transfer-Encoding :8bit\n "
21
- "Plural-Forms :nplurals=2; plural=(n != 1)\n "
22
22
"Generated-By :Babel 2.9.1\n "
23
23
24
24
#: ../Doc/c-api/iter.rst:6
@@ -30,9 +30,10 @@ msgid "There are two functions specifically for working with iterators."
30
30
msgstr "Hay dos funciones específicas para trabajar con iteradores."
31
31
32
32
#: ../Doc/c-api/iter.rst:12
33
+ #, fuzzy
33
34
msgid ""
34
- "Return non-zero if the object *o*supports the iterator protocol, and ``0`` "
35
- "otherwise. This function always succeeds."
35
+ "Return non-zero if the object *o*can be safely passed to :c:func: "
36
+ "`PyIter_Next`, and ``0`` otherwise. This function always succeeds."
36
37
msgstr ""
37
38
"Retorna un valor distinto de cero si el objeto *o* admite el protocolo de "
38
39
"iterador y ``0`` en caso contrario. Esta función siempre tiene éxito."
@@ -47,51 +48,53 @@ msgstr ""
47
48
"éxito."
48
49
49
50
#: ../Doc/c-api/iter.rst:24
51
+ #, fuzzy
50
52
msgid ""
51
- "Return the next value from the iteration *o*. The object must be an "
52
- "iterator (it is up to the caller to check this). If there are no remaining "
53
- "values, returns ``NULL`` with no exception set. If an error occurs while "
54
- "retrieving the item, returns ``NULL`` and passes along the exception."
53
+ "Return the next value from the iterator *o*. The object must be an iterator "
54
+ "according to :c:func:`PyIter_Check` (it is up to the caller to check this). "
55
+ "If there are no remaining values, returns ``NULL`` with no exception set. If "
56
+ "an error occurs while retrieving the item, returns ``NULL`` and passes along "
57
+ "the exception."
55
58
msgstr ""
56
59
"Retorna el siguiente valor de la iteración *o*. El objeto debe ser un "
57
60
"iterador (depende de quién llama comprobar esto). Si no quedan valores "
58
61
"restantes, retorna ``NULL`` sin establecer ninguna excepción. Si se produce "
59
62
"un error al recuperar el elemento, retorna ``NULL`` y pasa la excepción."
60
63
61
- #: ../Doc/c-api/iter.rst:29
64
+ #: ../Doc/c-api/iter.rst:30
62
65
msgid ""
63
66
"To write a loop which iterates over an iterator, the C code should look "
64
67
"something like this::"
65
68
msgstr ""
66
69
"Para escribir un bucle que itera sobre un iterador, el código en C debería "
67
70
"verse así::"
68
71
69
- #: ../Doc/c-api/iter.rst:58
72
+ #: ../Doc/c-api/iter.rst:59
70
73
msgid ""
71
74
"The enum value used to represent different results of :c:func:`PyIter_Send`."
72
75
msgstr ""
73
76
"El valor de enumeración utilizado para representar diferentes resultados de :"
74
77
"c:func:`PyIter_Send`."
75
78
76
- #: ../Doc/c-api/iter.rst:65
79
+ #: ../Doc/c-api/iter.rst:66
77
80
msgid "Sends the *arg* value into the iterator *iter*. Returns:"
78
81
msgstr "Envía el valor *arg* al iterador *iter*. Retorna:"
79
82
80
- #: ../Doc/c-api/iter.rst:67
83
+ #: ../Doc/c-api/iter.rst:68
81
84
msgid ""
82
85
"``PYGEN_RETURN`` if iterator returns. Return value is returned via *presult*."
83
86
msgstr ""
84
87
"``PYGEN_RETURN`` si el iterador regresa. El valor de retorno se retorna a "
85
88
"través de *presult*."
86
89
87
- #: ../Doc/c-api/iter.rst:68
90
+ #: ../Doc/c-api/iter.rst:69
88
91
msgid ""
89
92
"``PYGEN_NEXT`` if iterator yields. Yielded value is returned via *presult*."
90
93
msgstr ""
91
94
"``PYGEN_NEXT`` si el iterador cede. El valor cedido se retorna a través de "
92
95
"*presult*."
93
96
94
- #: ../Doc/c-api/iter.rst:69
97
+ #: ../Doc/c-api/iter.rst:70
95
98
msgid ""
96
99
"``PYGEN_ERROR`` if iterator has raised and exception. *presult* is set to "
97
100
"``NULL``."