@@ -8,7 +8,7 @@ msgstr ""
8
8
"Project-Id-Version : Python 3.12\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
10
"POT-Creation-Date : 2023-11-09 00:04+0000\n "
11
- "PO-Revision-Date : 2023-12-14 20:17 +0800\n "
11
+ "PO-Revision-Date : 2023-12-15 10:37 +0800\n "
12
12
"Last-Translator : RockLeon <therockleona@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
14
14
"tw)\n "
@@ -687,31 +687,35 @@ msgid ""
687
687
"Generic classes have :meth:`~object.__class_getitem__` methods, meaning they "
688
688
"can be parameterised at runtime (e.g. ``LoggedVar[int]`` below)::"
689
689
msgstr ""
690
+ "泛型類別有 :meth:`~object.__class_getitem__` 方法,其意味著可以在 runtime 進"
691
+ "行參數化(如下述的 ``LoggedVar[int]``): ::"
690
692
691
693
#: ../../library/typing.rst:552
692
694
msgid ""
693
695
"A generic type can have any number of type variables. All varieties of :"
694
696
"class:`TypeVar` are permissible as parameters for a generic type::"
695
697
msgstr ""
698
+ "一個泛型型別可以有任意數量的型別變數。所有種類的 :class:`TypeVar` 都可以作為"
699
+ "泛型行別的參數: ::"
696
700
697
701
#: ../../library/typing.rst:567
698
702
msgid ""
699
703
"Each type variable argument to :class:`Generic` must be distinct. This is "
700
704
"thus invalid::"
701
- msgstr ""
705
+ msgstr ":class:`Generic` 的每個型別變數引數必不相同。因此以下是無效的: :: "
702
706
703
707
#: ../../library/typing.rst:581
704
708
msgid "Generic classes can also inherit from other classes::"
705
- msgstr ""
709
+ msgstr "泛型類別亦可以繼承其他類別: :: "
706
710
707
711
#: ../../library/typing.rst:588
708
712
msgid ""
709
713
"When inheriting from generic classes, some type parameters could be fixed::"
710
- msgstr ""
714
+ msgstr "當繼承泛型類別時,部份的型別參數可固定: :: "
711
715
712
716
#: ../../library/typing.rst:595
713
717
msgid "In this case ``MyDict`` has a single parameter, ``T``."
714
- msgstr ""
718
+ msgstr "在這種情況下 ``MyDict`` 有一個單一的參數 ``T``。 "
715
719
716
720
#: ../../library/typing.rst:597
717
721
msgid ""
0 commit comments