File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -6546,12 +6546,18 @@ msgid ""
65466546"the value type. In this example, the function expects a ``dict`` with keys "
65476547"of type :class:`str` and values of type :class:`int`::"
65486548msgstr ""
6549+ "もうひとつの例として :term:`mapping` オブジェクトの場合を示します。ここでは"
6550+ "キーと値の2つの型をパラメータとするジェネリック型である :class:`dict` を使っ"
6551+ "ています。この例では、関数はキーが :class:`str` 型、値が :class:`int` 型であ"
6552+ "るような ``dict`` を引数にとります::"
65496553
65506554#: ../../library/stdtypes.rst:4783
65516555msgid ""
65526556"The builtin functions :func:`isinstance` and :func:`issubclass` do not "
65536557"accept ``GenericAlias`` types for their second argument::"
65546558msgstr ""
6559+ "組み込み関数 :func:`isinstance` と :func:`issubclass` は第二引数として "
6560+ "``GenericAlias`` 型を指定することはできません::"
65556561
65566562#: ../../library/stdtypes.rst:4791
65576563msgid ""
@@ -6567,12 +6573,16 @@ msgid ""
65676573"Furthermore, parameterized generics erase type parameters during object "
65686574"creation::"
65696575msgstr ""
6576+ "しかも、パラメータ付きジェネリック型は、オブジェクト生成時にパラメータの型情"
6577+ "報を削除します::"
65706578
65716579#: ../../library/stdtypes.rst:4812
65726580msgid ""
65736581"Calling :func:`repr` or :func:`str` on a generic shows the parameterized "
65746582"type::"
65756583msgstr ""
6584+ ":func:`repr` や :func:`str` のジェネリック型に対する呼び出しは、パラメータ型"
6585+ "を表示します::"
65766586
65776587#: ../../library/stdtypes.rst:4820
65786588msgid ""
You can’t perform that action at this time.
0 commit comments