File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -6546,12 +6546,18 @@ msgid ""
6546
6546
"the value type. In this example, the function expects a ``dict`` with keys "
6547
6547
"of type :class:`str` and values of type :class:`int`::"
6548
6548
msgstr ""
6549
+ "もうひとつの例として :term:`mapping` オブジェクトの場合を示します。ここでは"
6550
+ "キーと値の2つの型をパラメータとするジェネリック型である :class:`dict` を使っ"
6551
+ "ています。この例では、関数はキーが :class:`str` 型、値が :class:`int` 型であ"
6552
+ "るような ``dict`` を引数にとります::"
6549
6553
6550
6554
#: ../../library/stdtypes.rst:4783
6551
6555
msgid ""
6552
6556
"The builtin functions :func:`isinstance` and :func:`issubclass` do not "
6553
6557
"accept ``GenericAlias`` types for their second argument::"
6554
6558
msgstr ""
6559
+ "組み込み関数 :func:`isinstance` と :func:`issubclass` は第二引数として "
6560
+ "``GenericAlias`` 型を指定することはできません::"
6555
6561
6556
6562
#: ../../library/stdtypes.rst:4791
6557
6563
msgid ""
@@ -6567,12 +6573,16 @@ msgid ""
6567
6573
"Furthermore, parameterized generics erase type parameters during object "
6568
6574
"creation::"
6569
6575
msgstr ""
6576
+ "しかも、パラメータ付きジェネリック型は、オブジェクト生成時にパラメータの型情"
6577
+ "報を削除します::"
6570
6578
6571
6579
#: ../../library/stdtypes.rst:4812
6572
6580
msgid ""
6573
6581
"Calling :func:`repr` or :func:`str` on a generic shows the parameterized "
6574
6582
"type::"
6575
6583
msgstr ""
6584
+ ":func:`repr` や :func:`str` のジェネリック型に対する呼び出しは、パラメータ型"
6585
+ "を表示します::"
6576
6586
6577
6587
#: ../../library/stdtypes.rst:4820
6578
6588
msgid ""
You can’t perform that action at this time.
0 commit comments