Skip to content

Commit 8e5d738

Browse files
committed
Traducido c-api/iterator
1 parent bca6fda commit 8e5d738

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

c-api/iterator.po

+27-7
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
11
# Copyright (C) 2001-2020, Python Software Foundation
22
# This file is distributed under the same license as the Python package.
3-
# Maintained by the python-doc-es workteam.
3+
# Maintained by the python-doc-es workteam.
44
# docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/
55
# Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers
66
#
7-
#, fuzzy
87
msgid ""
98
msgstr ""
109
"Project-Id-Version: Python 3.8\n"
1110
"Report-Msgid-Bugs-To: \n"
1211
"POT-Creation-Date: 2019-05-06 11:59-0400\n"
13-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12+
"PO-Revision-Date: 2020-05-09 15:46+0200\n"
1513
"Language-Team: python-doc-es\n"
1614
"MIME-Version: 1.0\n"
1715
"Content-Type: text/plain; charset=UTF-8\n"
1816
"Content-Transfer-Encoding: 8bit\n"
17+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
18+
"Last-Translator: \n"
19+
"Language: es\n"
20+
"X-Generator: Poedit 2.3\n"
1921

2022
#: ../Doc/c-api/iterator.rst:6
2123
msgid "Iterator Objects"
22-
msgstr ""
24+
msgstr "Objetos iteradores"
2325

2426
#: ../Doc/c-api/iterator.rst:8
2527
msgid ""
@@ -29,34 +31,48 @@ msgid ""
2931
"sentinel value, calling the callable for each item in the sequence, and "
3032
"ending the iteration when the sentinel value is returned."
3133
msgstr ""
34+
"Python proporciona dos objetos iteradores de propósito general. El primero, "
35+
"un iterador de secuencia, funciona con una secuencia arbitraria que admite "
36+
"el método :meth:`__getitem__`. El segundo funciona con un objeto invocable y "
37+
"un valor centinela, llamando al invocable para cada elemento de la secuencia "
38+
"y finalizando la iteración cuando se devuelve el valor centinela."
3239

3340
#: ../Doc/c-api/iterator.rst:17
3441
msgid ""
3542
"Type object for iterator objects returned by :c:func:`PySeqIter_New` and the "
3643
"one-argument form of the :func:`iter` built-in function for built-in "
3744
"sequence types."
3845
msgstr ""
46+
"Objeto tipo para objetos iteradores devueltos por :c:func:`PySeqIter_New` y "
47+
"la forma de un argumento de la función incorporada :func:`iter` para los "
48+
"tipos de secuencia incorporados."
3949

4050
#: ../Doc/c-api/iterator.rst:24
4151
msgid "Return true if the type of *op* is :c:data:`PySeqIter_Type`."
42-
msgstr ""
52+
msgstr "Retorna verdadero si el tipo de *op* es :c:data:`PySeqIter_Type`."
4353

4454
#: ../Doc/c-api/iterator.rst:29
4555
msgid ""
4656
"Return an iterator that works with a general sequence object, *seq*. The "
4757
"iteration ends when the sequence raises :exc:`IndexError` for the "
4858
"subscripting operation."
4959
msgstr ""
60+
"Retorna un iterador que funciona con un objeto de secuencia general, *seq*. "
61+
"La iteración termina cuando la secuencia lanza :exc:`IndexError` para la "
62+
"operación de suscripción."
5063

5164
#: ../Doc/c-api/iterator.rst:36
5265
msgid ""
5366
"Type object for iterator objects returned by :c:func:`PyCallIter_New` and "
5467
"the two-argument form of the :func:`iter` built-in function."
5568
msgstr ""
69+
"Objeto tipo para los objetos iteradores devueltos por :c:func:"
70+
"`PyCallIter_New` y la forma de dos argumentos de la función incorporada :"
71+
"func:`iter`."
5672

5773
#: ../Doc/c-api/iterator.rst:42
5874
msgid "Return true if the type of *op* is :c:data:`PyCallIter_Type`."
59-
msgstr ""
75+
msgstr "Retorna verdadero si el tipo de *op* es :c:data:`PyCallIter_Type`."
6076

6177
#: ../Doc/c-api/iterator.rst:47
6278
msgid ""
@@ -65,3 +81,7 @@ msgid ""
6581
"should return the next item in the iteration. When *callable* returns a "
6682
"value equal to *sentinel*, the iteration will be terminated."
6783
msgstr ""
84+
"Retorna un nuevo iterador. El primer parámetro, *callable*, puede ser "
85+
"cualquier objeto invocable de Python que se pueda invocar sin parámetros; "
86+
"cada llamada debe retornar el siguiente elemento en la iteración. Cuando "
87+
"*callable* retorna un valor igual a *sentinel*, la iteración finalizará."

dict

+1
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ int
113113
interactivamente
114114
intermezzo
115115
interoperabilidad
116+
invocable
116117
invocables
117118
iterador
118119
iterador

0 commit comments

Comments
 (0)