Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8077637

Browse files
committed
Translate Part 2
1 parente9d85e0 commit8077637

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

‎library/typing.po

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version:Python 3.12\n"
99
"Report-Msgid-Bugs-To:\n"
1010
"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"
1212
"Last-Translator:RockLeon <therockleona@gmail.com>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -687,31 +687,35 @@ msgid ""
687687
"Generic classes have :meth:`~object.__class_getitem__` methods, meaning they "
688688
"can be parameterised at runtime (e.g. ``LoggedVar[int]`` below)::"
689689
msgstr""
690+
"泛型類別有 :meth:`~object.__class_getitem__` 方法,其意味著可以在 runtime 進"
691+
"行參數化(如下述的 ``LoggedVar[int]``): ::"
690692

691693
#:../../library/typing.rst:552
692694
msgid""
693695
"A generic type can have any number of type variables. All varieties of :"
694696
"class:`TypeVar` are permissible as parameters for a generic type::"
695697
msgstr""
698+
"一個泛型型別可以有任意數量的型別變數。所有種類的 :class:`TypeVar` 都可以作為"
699+
"泛型行別的參數: ::"
696700

697701
#:../../library/typing.rst:567
698702
msgid""
699703
"Each type variable argument to :class:`Generic` must be distinct. This is "
700704
"thus invalid::"
701-
msgstr""
705+
msgstr":class:`Generic` 的每個型別變數引數必不相同。因此以下是無效的: ::"
702706

703707
#:../../library/typing.rst:581
704708
msgid"Generic classes can also inherit from other classes::"
705-
msgstr""
709+
msgstr"泛型類別亦可以繼承其他類別: ::"
706710

707711
#:../../library/typing.rst:588
708712
msgid""
709713
"When inheriting from generic classes, some type parameters could be fixed::"
710-
msgstr""
714+
msgstr"當繼承泛型類別時,部份的型別參數可固定: ::"
711715

712716
#:../../library/typing.rst:595
713717
msgid"In this case ``MyDict`` has a single parameter, ``T``."
714-
msgstr""
718+
msgstr"在這種情況下 ``MyDict`` 有一個單一的參數 ``T``。"
715719

716720
#:../../library/typing.rst:597
717721
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp