-
Notifications
You must be signed in to change notification settings - Fork 380
/
iterator.po
98 lines (90 loc) · 3.99 KB
/
iterator.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Copyright (C) 2001-2020, Python Software Foundation
# This file is distributed under the same license as the Python package.
# Maintained by the python-doc-es workteam.
# docs-es@python.org /
# https://mail.python.org/mailman3/lists/docs-es.python.org/
# Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get
# the list of volunteers
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-10-12 19:43+0200\n"
"PO-Revision-Date: 2021-08-01 20:11+0200\n"
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.13.0\n"
#: ../Doc/c-api/iterator.rst:6
msgid "Iterator Objects"
msgstr "Objetos iteradores"
#: ../Doc/c-api/iterator.rst:8
#, fuzzy
msgid ""
"Python provides two general-purpose iterator objects. The first, a sequence "
"iterator, works with an arbitrary sequence supporting the :meth:`~object."
"__getitem__` method. The second works with a callable object and a sentinel "
"value, calling the callable for each item in the sequence, and ending the "
"iteration when the sentinel value is returned."
msgstr ""
"Python proporciona dos objetos iteradores de propósito general. El primero, "
"un iterador de secuencia, funciona con una secuencia arbitraria que admite "
"el método :meth:`__getitem__`. El segundo funciona con un objeto invocable y "
"un valor centinela, llamando al invocable para cada elemento de la secuencia "
"y finalizando la iteración cuando se retorna el valor centinela."
#: ../Doc/c-api/iterator.rst:17
msgid ""
"Type object for iterator objects returned by :c:func:`PySeqIter_New` and the "
"one-argument form of the :func:`iter` built-in function for built-in "
"sequence types."
msgstr ""
"Objeto tipo para objetos iteradores retornados por :c:func:`PySeqIter_New` y "
"la forma de un argumento de la función incorporada :func:`iter` para los "
"tipos de secuencia incorporados."
#: ../Doc/c-api/iterator.rst:24
msgid ""
"Return true if the type of *op* is :c:data:`PySeqIter_Type`. This function "
"always succeeds."
msgstr ""
"Retorna verdadero si el tipo de *op* es :c:data:`PySeqIter_Type`. Esta "
"función siempre finaliza con éxito."
#: ../Doc/c-api/iterator.rst:30
msgid ""
"Return an iterator that works with a general sequence object, *seq*. The "
"iteration ends when the sequence raises :exc:`IndexError` for the "
"subscripting operation."
msgstr ""
"Retorna un iterador que funciona con un objeto de secuencia general, *seq*. "
"La iteración termina cuando la secuencia lanza :exc:`IndexError` para la "
"operación de suscripción."
#: ../Doc/c-api/iterator.rst:37
msgid ""
"Type object for iterator objects returned by :c:func:`PyCallIter_New` and "
"the two-argument form of the :func:`iter` built-in function."
msgstr ""
"Objeto tipo para los objetos iteradores retornados por :c:func:"
"`PyCallIter_New` y la forma de dos argumentos de la función incorporada :"
"func:`iter`."
#: ../Doc/c-api/iterator.rst:43
msgid ""
"Return true if the type of *op* is :c:data:`PyCallIter_Type`. This function "
"always succeeds."
msgstr ""
"Retorna verdadero si el tipo de *op* es :c:data:`PyCallIter_Type`. Esta "
"función siempre finaliza con éxito."
#: ../Doc/c-api/iterator.rst:49
msgid ""
"Return a new iterator. The first parameter, *callable*, can be any Python "
"callable object that can be called with no parameters; each call to it "
"should return the next item in the iteration. When *callable* returns a "
"value equal to *sentinel*, the iteration will be terminated."
msgstr ""
"Retorna un nuevo iterador. El primer parámetro, *callable*, puede ser "
"cualquier objeto invocable de Python que se pueda invocar sin parámetros; "
"cada llamada debe retornar el siguiente elemento en la iteración. Cuando "
"*callable* retorna un valor igual a *sentinel*, la iteración finalizará."