# 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: 2021-03-19 11:16+0100\n" "PO-Revision-Date: 2021-08-01 20:11+0200\n" "Last-Translator: Cristián Maureira-Fredes \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.8.0\n" "X-Generator: Poedit 3.0\n" #: ../Doc/c-api/gen.rst:6 msgid "Generator Objects" msgstr "Objetos Generadores" #: ../Doc/c-api/gen.rst:8 msgid "" "Generator objects are what Python uses to implement generator iterators. " "They are normally created by iterating over a function that yields values, " "rather than explicitly calling :c:func:`PyGen_New` or :c:func:" "`PyGen_NewWithQualName`." msgstr "" "Los objetos generadores son lo que Python usa para implementar iteradores " "generadores. Normalmente se crean iterando sobre una función que produce " "valores, en lugar de llamar explícitamente :c:func:`PyGen_New` o :c:func:" "`PyGen_NewWithQualName`." #: ../Doc/c-api/gen.rst:15 msgid "The C structure used for generator objects." msgstr "La estructura en C utilizada para los objetos generadores." #: ../Doc/c-api/gen.rst:20 msgid "The type object corresponding to generator objects." msgstr "El objeto tipo correspondiente a los objetos generadores." #: ../Doc/c-api/gen.rst:25 msgid "" "Return true if *ob* is a generator object; *ob* must not be ``NULL``. This " "function always succeeds." msgstr "" "Retorna verdadero si *ob* es un objeto generador; *ob* no debe ser ``NULL``. " "Esta función siempre finaliza con éxito." #: ../Doc/c-api/gen.rst:31 msgid "" "Return true if *ob*'s type is :c:type:`PyGen_Type`; *ob* must not be " "``NULL``. This function always succeeds." msgstr "" "Retorna verdadero si el tipo de *ob* es :c:type:`PyGen_Type`; *ob* no debe " "ser ``NULL``. Esta función siempre finaliza con éxito." #: ../Doc/c-api/gen.rst:37 msgid "" "Create and return a new generator object based on the *frame* object. A " "reference to *frame* is stolen by this function. The argument must not be " "``NULL``." msgstr "" "Crea y retorna un nuevo objeto generador basado en el objeto *frame*. Una " "referencia a *frame* es robada por esta función. El argumento no debe ser " "``NULL``." #: ../Doc/c-api/gen.rst:43 msgid "" "Create and return a new generator object based on the *frame* object, with " "``__name__`` and ``__qualname__`` set to *name* and *qualname*. A reference " "to *frame* is stolen by this function. The *frame* argument must not be " "``NULL``." msgstr "" "Crea y retorna un nuevo objeto generador basado en el objeto *frame*, con " "``__name__`` y ``__qualname__`` establecido en *name* y *qualname*. Una " "referencia a *frame* es robada por esta función. El argumento *frame* no " "debe ser ``NULL``."