|
| 1 | +# SOME DESCRIPTIVE TITLE. |
| 2 | +# Copyright (C) 2001-2021, Python Software Foundation |
| 3 | +# This file is distributed under the same license as the Python package. |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 | +# |
| 6 | +#, fuzzy |
| 7 | +msgid "" |
| 8 | +msgstr "" |
| 9 | +"Project-Id-Version: Python 3.9\n" |
| 10 | +"Report-Msgid-Bugs-To: \n" |
| 11 | +"POT-Creation-Date: 2021-06-17 06:39+0000\n" |
| 12 | +"PO-Revision-Date: 2021-06-17 06:42+0000\n" |
| 13 | +"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n" |
| 14 | +"MIME-Version: 1.0\n" |
| 15 | +"Content-Type: text/plain; charset=UTF-8\n" |
| 16 | +"Content-Transfer-Encoding: 8bit\n" |
| 17 | +"Language: ja\n" |
| 18 | +"Plural-Forms: nplurals=1; plural=0;\n" |
| 19 | + |
| 20 | +#: ../../c-api/typehints.rst:6 |
| 21 | +msgid "Objects for Type Hinting" |
| 22 | +msgstr "" |
| 23 | + |
| 24 | +#: ../../c-api/typehints.rst:8 |
| 25 | +msgid "" |
| 26 | +"Various built-in types for type hinting are provided. Only " |
| 27 | +":ref:`GenericAlias <types-genericalias>` is exposed to C." |
| 28 | +msgstr "" |
| 29 | + |
| 30 | +#: ../../c-api/typehints.rst:13 |
| 31 | +msgid "" |
| 32 | +"Create a :ref:`GenericAlias <types-genericalias>` object. Equivalent to " |
| 33 | +"calling the Python class :class:`types.GenericAlias`. The *origin* and " |
| 34 | +"*args* arguments set the ``GenericAlias``\\ 's ``__origin__`` and " |
| 35 | +"``__args__`` attributes respectively. *origin* should be a " |
| 36 | +":c:type:`PyTypeObject*`, and *args* can be a :c:type:`PyTupleObject*` or any" |
| 37 | +" ``PyObject*``. If *args* passed is not a tuple, a 1-tuple is automatically" |
| 38 | +" constructed and ``__args__`` is set to ``(args,)``. Minimal checking is " |
| 39 | +"done for the arguments, so the function will succeed even if *origin* is not" |
| 40 | +" a type. The ``GenericAlias``\\ 's ``__parameters__`` attribute is " |
| 41 | +"constructed lazily from ``__args__``. On failure, an exception is raised " |
| 42 | +"and ``NULL`` is returned." |
| 43 | +msgstr "" |
| 44 | + |
| 45 | +#: ../../c-api/typehints.rst:27 |
| 46 | +msgid "Here's an example of how to make an extension type generic::" |
| 47 | +msgstr "" |
| 48 | + |
| 49 | +#: ../../c-api/typehints.rst:37 |
| 50 | +msgid "The data model method :meth:`__class_getitem__`." |
| 51 | +msgstr "" |
| 52 | + |
| 53 | +#: ../../c-api/typehints.rst:43 |
| 54 | +msgid "" |
| 55 | +"The C type of the object returned by :c:func:`Py_GenericAlias`. Equivalent " |
| 56 | +"to :class:`types.GenericAlias` in Python." |
| 57 | +msgstr "" |
0 commit comments