# 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: # tomo, 2018 # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.6\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-02-09 18:48+0900\n" "PO-Revision-Date: 2018-06-29 17:47+0000\n" "Last-Translator: tomo, 2018\n" "Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/" "ja/)\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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* がジェネレータオブジェクトの場合に真を返します。*ob* が *NULL* であって" "はなりません。" #: ../../c-api/gen.rst:30 msgid "Return true if *ob*'s type is *PyGen_Type*; *ob* must not be *NULL*." msgstr "" "*ob* の型が *PyGen_Type* のとき真を返します。*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* オブジェクトに基づいて新たなジェネレータオブジェクトを生成して返しま" "す。この関数は *frame* への参照を盗みます。引数が *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* に設定して返します。" "この関数は *frame* への参照を盗みます。 *frame* 引数は *NULL* であってはなり" "ません。"