# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2024, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2025-11-27 09:00+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: c-api/gen.rst:6 msgid "Generator Objects" msgstr "" #: 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 "" #: c-api/gen.rst:15 msgid "The C structure used for generator objects." msgstr "" #: c-api/gen.rst:20 msgid "The type object corresponding to generator objects." msgstr "" #: c-api/gen.rst:25 msgid "" "Return true if *ob* is a generator object; *ob* must not be ``NULL``. This " "function always succeeds." msgstr "" #: 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 "" #: 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 "" #: 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 "" #: c-api/gen.rst:50 msgid "" "Return a new :term:`strong reference` to the code object wrapped by *gen*. " "This function always succeeds." msgstr "" #: c-api/gen.rst:55 msgid "Asynchronous Generator Objects" msgstr "" #: c-api/gen.rst:58 msgid ":pep:`525`" msgstr "" #: c-api/gen.rst:62 msgid "" "The type object corresponding to asynchronous generator objects. This is " "available as :class:`types.AsyncGeneratorType` in the Python layer." msgstr "" #: c-api/gen.rst:69 msgid "" "Create a new asynchronous generator wrapping *frame*, with ``__name__`` and " "``__qualname__`` set to *name* and *qualname*. *frame* is stolen by this " "function and must not be ``NULL``." msgstr "" #: c-api/gen.rst:73 msgid "" "On success, this function returns a :term:`strong reference` to the new " "asynchronous generator. On failure, this function returns ``NULL`` with an " "exception set." msgstr "" #: c-api/gen.rst:81 msgid "" "Return true if *op* is an asynchronous generator object, false otherwise. " "This function always succeeds." msgstr ""