@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version :Python 3.7\n "
2121"Report-Msgid-Bugs-To :\n "
22- "POT-Creation-Date :2019-06-19 11:40+0900 \n "
22+ "POT-Creation-Date :2019-08-14 03:13+0000 \n "
2323"PO-Revision-Date :2017-02-16 23:32+0000\n "
2424"Last-Translator :tomo, 2019\n "
2525"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -1073,11 +1073,13 @@ msgstr ""
10731073#: ../../library/typing.rst:1058
10741074msgid ""
10751075"Tuple type; ``Tuple[X, Y]`` is the type of a tuple of two items with the "
1076- "first item of type X and the second of type Y."
1076+ "first item of type X and the second of type Y. The type of the empty tuple "
1077+ "can be written as ``Tuple[()]``."
10771078msgstr ""
1078- "タプル型; ``Tuple[X, Y]`` は、最初の要素の型が X で、2つ目の要素の型が Y であるような、2つの要素を持つタプルの型です。"
1079+ "タプル型; ``Tuple[X, Y]`` は、最初の要素の型が X で、2つ目の要素の型が Y であるような、2つの要素を持つタプルの型です。\n"
1080+ "空のタプルの型は ``Tuple[()]`` と書けます。"
10791081
1080- #: ../../library/typing.rst:1061
1082+ #: ../../library/typing.rst:1062
10811083msgid ""
10821084"Example: ``Tuple[T1, T2]`` is a tuple of two elements corresponding to type "
10831085"variables T1 and T2. ``Tuple[int, float, str]`` is a tuple of an int, a "
@@ -1086,7 +1088,7 @@ msgstr ""
10861088"例: ``Tuple[T1, T2]`` は型変数 T1 と T2 に対応する2つの要素を持つタプルです。``Tuple[int, float, "
10871089"str]`` は int と float、 string のタプルです。"
10881090
1089- #: ../../library/typing.rst:1065
1091+ #: ../../library/typing.rst:1066
10901092msgid ""
10911093"To specify a variable-length tuple of homogeneous type, use literal "
10921094"ellipsis, e.g. ``Tuple[int, ...]``. A plain :data:`Tuple` is equivalent to "
@@ -1095,11 +1097,11 @@ msgstr ""
10951097"同じ型の任意の長さのタプルを指定するには ellipsis リテラルを用います。例: ``Tuple[int, ...]``。ただの "
10961098":data:`Tuple` は ``Tuple[Any, ...]`` と等価で、さらに :class:`tuple` と等価です。."
10971099
1098- #: ../../library/typing.rst:1071
1100+ #: ../../library/typing.rst:1072
10991101msgid "Callable type; ``Callable[[int], str]`` is a function of (int) -> str."
11001102msgstr "呼び出し可能型; ``Callable[[int], str]`` は (int) -> str の関数です。"
11011103
1102- #: ../../library/typing.rst:1073
1104+ #: ../../library/typing.rst:1074
11031105msgid ""
11041106"The subscription syntax must always be used with exactly two values: the "
11051107"argument list and the return type. The argument list must be a list of "
@@ -1108,7 +1110,7 @@ msgstr ""
11081110"添字表記は常に2つの値とともに使われなければなりません: 実引数のリストと返り値の型です。\n"
11091111"実引数のリストは型のリストか ellipsis でなければなりません; 返り値の型は単一の型でなければなりません。"
11101112
1111- #: ../../library/typing.rst:1078
1113+ #: ../../library/typing.rst:1079
11121114msgid ""
11131115"There is no syntax to indicate optional or keyword arguments; such function "
11141116"types are rarely used as callback types. ``Callable[..., ReturnType]`` "
@@ -1121,11 +1123,11 @@ msgstr ""
11211123"``Callable[..., ReturnType]`` (リテラルの Ellipsis) は任意の個数の引数をとり ``ReturnType`` を返す型ヒントを与えるために使えます。\n"
11221124"普通の :data:`Callable` は ``Callable[..., Any]`` と同等で、 :class:`collections.abc.Callable` でも同様です。"
11231125
1124- #: ../../library/typing.rst:1088
1126+ #: ../../library/typing.rst:1089
11251127msgid "Special type construct to mark class variables."
11261128msgstr "クラス変数であることを示す特別な型構築子です。"
11271129
1128- #: ../../library/typing.rst:1090
1130+ #: ../../library/typing.rst:1091
11291131msgid ""
11301132"As introduced in :pep:`526`, a variable annotation wrapped in ClassVar "
11311133"indicates that a given attribute is intended to be used as a class variable "
@@ -1134,11 +1136,11 @@ msgstr ""
11341136":pep:`526` で導入された通り、 ClassVar "
11351137"でラップされた変数アノテーションによって、ある属性はクラス変数として使うつもりであり、そのクラスのインスタンスから設定すべきではないということを示せます。使い方は次のようになります::"
11361138
1137- #: ../../library/typing.rst:1098
1139+ #: ../../library/typing.rst:1099
11381140msgid ":data:`ClassVar` accepts only types and cannot be further subscribed."
11391141msgstr ":data:`ClassVar` は型のみを受け入れ、それ以外は受け付けられません。"
11401142
1141- #: ../../library/typing.rst:1100
1143+ #: ../../library/typing.rst:1101
11421144msgid ""
11431145":data:`ClassVar` is not a class itself, and should not be used with "
11441146":func:`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change "
@@ -1149,26 +1151,26 @@ msgstr ""
11491151":data:`ClassVar` は Python の実行時の挙動を変えませんが、サードパーティの型検査器で使えます。\n"
11501152"例えば、型チェッカーは次のコードをエラーとするかもしれません::"
11511153
1152- #: ../../library/typing.rst:1114
1154+ #: ../../library/typing.rst:1115
11531155msgid ""
11541156"``AnyStr`` is a type variable defined as ``AnyStr = TypeVar('AnyStr', str, "
11551157"bytes)``."
11561158msgstr ""
11571159"``AnyStr`` は ``AnyStr = TypeVar('AnyStr', str, bytes)`` として定義される型変数です。"
11581160
1159- #: ../../library/typing.rst:1117
1161+ #: ../../library/typing.rst:1118
11601162msgid ""
11611163"It is meant to be used for functions that may accept any kind of string "
11621164"without allowing different kinds of strings to mix. For example::"
11631165msgstr "他の種類の文字列を混ぜることなく、任意の種類の文字列を許す関数によって使われることを意図しています。"
11641166
1165- #: ../../library/typing.rst:1129
1167+ #: ../../library/typing.rst:1130
11661168msgid ""
11671169"A special constant that is assumed to be ``True`` by 3rd party static type "
11681170"checkers. It is ``False`` at runtime. Usage::"
11691171msgstr "サードパーティーの静的型検査器が ``True`` と仮定する特別な定数です。 実行時には ``False`` になります。使用例::"
11701172
1171- #: ../../library/typing.rst:1138
1173+ #: ../../library/typing.rst:1139
11721174msgid ""
11731175"Note that the first type annotation must be enclosed in quotes, making it a "
11741176"\" forward reference\" , to hide the ``expensive_mod`` reference from the "