# SOME DESCRIPTIVE TITLE. # Copyright (C) 2001-2020, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # # Translators: # E. Kawashima, 2017 # Arihiro TAKASE, 2017 # 秘湯 , 2017 # tomo, 2020 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-02-09 12:40+0000\n" "PO-Revision-Date: 2017-02-16 17:35+0000\n" "Last-Translator: tomo, 2020\n" "Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ja\n" "Plural-Forms: nplurals=1; plural=0;\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 "" "ジェネレータオブジェクトは、 Python がジェネレータイテレータを実装するのに使っているオブジェクトです。ジェネレータオブジェクトは通常、 " ":c:func:`PyGen_New` や :c:func:`PyGen_NewWithQualName` の明示的な呼び出しではなく、値を " "yield する関数のイテレーションにより生成されます。" #: ../../c-api/gen.rst:15 msgid "The C structure used for generator objects." msgstr "ジェネレータオブジェクトに使われている C 構造体です。" #: ../../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``." msgstr "" "*ob* がジェネレータオブジェクトの場合に真を返します。\n" "*ob* が ``NULL`` であってはなりません。" #: ../../c-api/gen.rst:30 msgid "" "Return true if *ob*'s type is :c:type:`PyGen_Type`; *ob* must not be " "``NULL``." msgstr "" "*ob* の型が :c:type:`PyGen_Type` のときに true を返します。\n" "*ob* は ``NULL`` であってはいけません。" #: ../../c-api/gen.rst:35 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 "" "*frame* オブジェクトに基づいて新たなジェネレータオブジェクトを生成して返します。\n" "この関数は *frame* への参照を盗みます。\n" "引数が ``NULL`` であってはなりません。" #: ../../c-api/gen.rst:41 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 "" "*frame* オブジェクトから新たなジェネレータオブジェクトを生成し、 ``__name__`` と ``__qualname__`` を *name* と *qualname* に設定して返します。\n" "この関数は *frame* への参照を盗みます。\n" "*frame* 引数は ``NULL`` であってはなりません。"