@@ -1302,14 +1302,13 @@ msgid "The :data:`Any` type"
13021302msgstr ":data:`Any` 型別"
13031303
13041304#: ../../library/typing.rst:721
1305- #, fuzzy
13061305msgid ""
13071306"A special kind of type is :data:`Any`. A static type checker will treat "
13081307"every type as assignable to :data:`Any` and :data:`Any` as assignable to "
13091308"every type."
13101309msgstr ""
1311- ":data:`Any` 是一種特別的型別。一個靜態型別檢查器會將每個型別視為可相容於 :"
1312- "data: `Any` 且 :data:`Any` 也可以相容於每個型別 。"
1310+ ":data:`Any` 是一種特別的型別。靜態型別檢查器會將每個型別視為可賦值給 :data :"
1311+ "`Any`, 且 :data:`Any` 也可賦值給每個型別 。"
13131312
13141313#: ../../library/typing.rst:725
13151314msgid ""
@@ -1542,14 +1541,12 @@ msgid "Special type indicating an unconstrained type."
15421541msgstr "特別型別,指出一個不受約束 (unconstrained) 的型別。"
15431542
15441543#: ../../library/typing.rst:854
1545- #, fuzzy
15461544msgid "Every type is assignable to :data:`Any`."
1547- msgstr "所有型別皆與 :data:`Any` 相容 。"
1545+ msgstr "所有型別皆可賦值給 :data:`Any`。"
15481546
15491547#: ../../library/typing.rst:855
1550- #, fuzzy
15511548msgid ":data:`Any` is assignable to every type."
1552- msgstr ":data:`Any` 相容於所有型別 。"
1549+ msgstr ":data:`Any` 可賦值給所有型別 。"
15531550
15541551#: ../../library/typing.rst:857
15551552msgid ""
@@ -2292,17 +2289,16 @@ msgid ":data:`ClassVar` accepts only types and cannot be further subscribed."
22922289msgstr ":data:`ClassVar` 只接受型別請不得使用下標。"
22932290
22942291#: ../../library/typing.rst:1295
2295- #, fuzzy
22962292msgid ""
22972293":data:`ClassVar` is not a class itself, and cannot be used with :func:"
22982294"`isinstance` or :func:`issubclass`. :data:`ClassVar` does not change Python "
22992295"runtime behavior, but it can be used by static type checkers. For example, a "
23002296"type checker might flag the following code as an error::"
23012297msgstr ""
2302- ":data:`ClassVar` 並不代表該類別本身,而且不應該和 :func:`isinstance` 或是 :"
2298+ ":data:`ClassVar` 並不代表該類別本身,而且不能和 :func:`isinstance` 或是 :"
23032299"func:`issubclass` 一起使用。:data:`ClassVar` 不會改變 Python runtime 的行為,"
2304- "但它可以被第三方的型別檢查器使用 。舉例來說,一個型別檢查器可能會標記下方的程 "
2305- "式碼為一個錯誤 : ::"
2300+ "但它可以被靜態型別檢查器使用 。舉例來說,一個型別檢查器可能會標記下方的程式碼 "
2301+ "為一個錯誤 : ::"
23062302
23072303#: ../../library/typing.rst:1301
23082304msgid ""
@@ -2379,7 +2375,6 @@ msgid ""
23792375msgstr "特殊型別建構,用來標記一個 :class:`TypedDict` 的項目是唯讀的。"
23802376
23812377#: ../../library/typing.rst:1362
2382- #, fuzzy
23832378msgid ""
23842379"class Movie(TypedDict):\n"
23852380" title: ReadOnly[str]\n"
@@ -4623,29 +4618,24 @@ msgid ""
46234618msgstr ""
46244619
46254620#: ../../library/typing.rst:2856
4626- #, fuzzy
46274621msgid "A protocol with one abstract method ``__bytes__``."
4628- msgstr "一個有抽象方法 ``__bytes__`` 的 ABC 。"
4622+ msgstr "一個有抽象方法 ``__bytes__`` 的協定 。"
46294623
46304624#: ../../library/typing.rst:2860
4631- #, fuzzy
46324625msgid "A protocol with one abstract method ``__complex__``."
4633- msgstr "一個有抽象方法 ``__complex__`` 的 ABC 。"
4626+ msgstr "一個有抽象方法 ``__complex__`` 的協定 。"
46344627
46354628#: ../../library/typing.rst:2864
4636- #, fuzzy
46374629msgid "A protocol with one abstract method ``__float__``."
4638- msgstr "一個有抽象方法 ``__float__`` 的 ABC 。"
4630+ msgstr "一個有抽象方法 ``__float__`` 的協定 。"
46394631
46404632#: ../../library/typing.rst:2868
4641- #, fuzzy
46424633msgid "A protocol with one abstract method ``__index__``."
4643- msgstr "一個有抽象方法 ``__index__`` 的 ABC 。"
4634+ msgstr "一個有抽象方法 ``__index__`` 的協定 。"
46444635
46454636#: ../../library/typing.rst:2874
4646- #, fuzzy
46474637msgid "A protocol with one abstract method ``__int__``."
4648- msgstr "一個有抽象方法 ``__int__`` 的 ABC 。"
4638+ msgstr "一個有抽象方法 ``__int__`` 的協定 。"
46494639
46504640#: ../../library/typing.rst:2878
46514641msgid ""
0 commit comments