@@ -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-10-11 17:13+0000\n "
11
- "PO-Revision-Date : 2023-11-03 13:17 +0800\n "
11
+ "PO-Revision-Date : 2023-11-06 10:51 +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 "
@@ -374,9 +374,9 @@ msgid ""
374
374
"pass in a ``UserId`` wherever an ``int`` might be expected, but will prevent "
375
375
"you from accidentally creating a ``UserId`` in an invalid way::"
376
376
msgstr ""
377
- "你依然可以在型別 ``UserId`` 的變數中執行所有 ``int`` 的操作。這讓你可以在預期 "
378
- "接受 ``int`` 的地方傳遞一個 ``UserId``,還能預防你意外使用無效的方法建立一個 "
379
- "``UserId``: ::"
377
+ "你依然可以在對於型別 ``UserId`` 的變數中執行所有 ``int`` 的操作。這讓你可以在 "
378
+ "預期接受 ``int`` 的地方傳遞一個 ``UserId``,還能預防你意外使用無效的方法建立 "
379
+ "一個 ``UserId``: ::"
380
380
381
381
#: ../../library/typing.rst:206
382
382
msgid ""
@@ -554,17 +554,17 @@ msgid ""
554
554
"inferred in a generic way, many container classes in the standard library "
555
555
"support subscription to denote the expected types of container elements."
556
556
msgstr ""
557
- "自從關於物件的型別資訊留存在容器之內,且無法使用泛型的方式進行靜態推論 "
558
- "(statically inferred),許多標準函式庫的容器類別支援訂閱及表示容器內元素預期的 "
559
- "型別 。"
557
+ "因為關於物件的型別資訊留存在容器之內,且無法使用通用的方式進行靜態推論 "
558
+ "(statically inferred),許多標準函式庫的容器類別支援以下標來表示容器內預期的元 "
559
+ "素 。"
560
560
561
561
#: ../../library/typing.rst:371
562
562
msgid ""
563
563
"Generic functions and classes can be parameterized by using :ref:`type "
564
564
"parameter syntax <type-params>`::"
565
565
msgstr ""
566
- "泛型函式及類別可以使用 :ref:`type parameter syntax <type-params>` 進行參數化 "
567
- "(parameterize) : ::"
566
+ "泛型函式及類別可以使用\\ :ref:`型別參數語法 ( type parameter syntax) <type-"
567
+ "params>` \\ 進行參數化 (parameterize) : ::"
568
568
569
569
#: ../../library/typing.rst:379
570
570
msgid "Or by using the :class:`TypeVar` factory directly::"
0 commit comments