From 8e5d738abfdc51f214b74f4fb3dd5634d36b1fc0 Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Sat, 9 May 2020 15:46:17 +0200 Subject: [PATCH] Traducido c-api/iterator --- c-api/iterator.po | 34 +++++++++++++++++++++++++++------- dict | 1 + 2 files changed, 28 insertions(+), 7 deletions(-) diff --git a/c-api/iterator.po b/c-api/iterator.po index f38d2aef01..73c0e3b819 100644 --- a/c-api/iterator.po +++ b/c-api/iterator.po @@ -1,25 +1,27 @@ # 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. +# 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/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2020-05-09 15:46+0200\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Last-Translator: \n" +"Language: es\n" +"X-Generator: Poedit 2.3\n" #: ../Doc/c-api/iterator.rst:6 msgid "Iterator Objects" -msgstr "" +msgstr "Objetos iteradores" #: ../Doc/c-api/iterator.rst:8 msgid "" @@ -29,6 +31,11 @@ msgid "" "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 devuelve el valor centinela." #: ../Doc/c-api/iterator.rst:17 msgid "" @@ -36,10 +43,13 @@ msgid "" "one-argument form of the :func:`iter` built-in function for built-in " "sequence types." msgstr "" +"Objeto tipo para objetos iteradores devueltos 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`." -msgstr "" +msgstr "Retorna verdadero si el tipo de *op* es :c:data:`PySeqIter_Type`." #: ../Doc/c-api/iterator.rst:29 msgid "" @@ -47,16 +57,22 @@ msgid "" "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:36 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 devueltos por :c:func:" +"`PyCallIter_New` y la forma de dos argumentos de la función incorporada :" +"func:`iter`." #: ../Doc/c-api/iterator.rst:42 msgid "Return true if the type of *op* is :c:data:`PyCallIter_Type`." -msgstr "" +msgstr "Retorna verdadero si el tipo de *op* es :c:data:`PyCallIter_Type`." #: ../Doc/c-api/iterator.rst:47 msgid "" @@ -65,3 +81,7 @@ msgid "" "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á." diff --git a/dict b/dict index 4377f42611..6bcf4645aa 100644 --- a/dict +++ b/dict @@ -113,6 +113,7 @@ int interactivamente intermezzo interoperabilidad +invocable invocables iterador iterador