9
9
msgstr ""
10
10
"Project-Id-Version : Python 3.12\n "
11
11
"Report-Msgid-Bugs-To : \n "
12
- "POT-Creation-Date : 2023-07-24 00:03+0000\n "
12
+ "POT-Creation-Date : 2024-03-01 00:03+0000\n "
13
13
"PO-Revision-Date : 2021-11-19 23:36+0800\n "
14
14
"
Last-Translator :
Jordan Su <[email protected] >\n "
15
15
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -58,15 +58,16 @@ msgstr ""
58
58
"實例。"
59
59
60
60
#: ../../library/constants.rst:30
61
+ #, fuzzy
61
62
msgid ""
62
63
"A special value which should be returned by the binary special methods (e."
63
64
"g. :meth:`~object.__eq__`, :meth:`~object.__lt__`, :meth:`~object.__add__`, :"
64
65
"meth:`~object.__rsub__`, etc.) to indicate that the operation is not "
65
66
"implemented with respect to the other type; may be returned by the in-place "
66
67
"binary special methods (e.g. :meth:`~object.__imul__`, :meth:`~object."
67
68
"__iand__`, etc.) for the same purpose. It should not be evaluated in a "
68
- "boolean context. `` NotImplemented`` is the sole instance of the :data:`types. "
69
- "NotImplementedType` type."
69
+ "boolean context. :data:`! NotImplemented` is the sole instance of the :data:"
70
+ "`types. NotImplementedType` type."
70
71
msgstr ""
71
72
"會被二元特殊方法 (binary special methods)(如::meth:`~object.__eq__`、:meth:"
72
73
"`~object.__lt__`、:meth:`~object.__add__`、:meth:`~object.__rsub__` 等)所回"
@@ -76,13 +77,15 @@ msgstr ""
76
77
"``NotImplemented`` 是型別 :data:`types.NotImplementedType` 的唯一實例。"
77
78
78
79
#: ../../library/constants.rst:40
80
+ #, fuzzy
79
81
msgid ""
80
- "When a binary (or in-place) method returns `` NotImplemented` ` the "
82
+ "When a binary (or in-place) method returns :data:`! NotImplemented` the "
81
83
"interpreter will try the reflected operation on the other type (or some "
82
- "other fallback, depending on the operator). If all attempts return "
83
- "``NotImplemented``, the interpreter will raise an appropriate exception. "
84
- "Incorrectly returning ``NotImplemented`` will result in a misleading error "
85
- "message or the ``NotImplemented`` value being returned to Python code."
84
+ "other fallback, depending on the operator). If all attempts return :data:`!"
85
+ "NotImplemented`, the interpreter will raise an appropriate exception. "
86
+ "Incorrectly returning :data:`!NotImplemented` will result in a misleading "
87
+ "error message or the :data:`!NotImplemented` value being returned to Python "
88
+ "code."
86
89
msgstr ""
87
90
"當一個二元 (binary) 或原地 (in-place) 方法回傳 ``NotImplemented``,直譯器會嘗"
88
91
"試反映該操作到其他型別(或是其他後援 (fallback),取決於是哪種運算子)。如果所"
@@ -95,19 +98,21 @@ msgid "See :ref:`implementing-the-arithmetic-operations` for examples."
95
98
msgstr "請參見 :ref:`implementing-the-arithmetic-operations` 以找到更多範例。"
96
99
97
100
#: ../../library/constants.rst:51
101
+ #, fuzzy
98
102
msgid ""
99
- "``NotImplementedError`` and `` NotImplemented`` are not interchangeable, even "
100
- "though they have similar names and purposes. See :exc:`NotImplementedError` "
101
- "for details on when to use it."
103
+ "``NotImplementedError`` and :data:`! NotImplemented` are not interchangeable, "
104
+ "even though they have similar names and purposes. See :exc:"
105
+ "`NotImplementedError` for details on when to use it."
102
106
msgstr ""
103
107
"``NotImplementedError`` 與 ``NotImplemented`` 並不一樣且不可互換。即使它們有"
104
108
"相似的名稱與用途。欲知更多如何使用它們的細節,請參見 :exc:"
105
109
"`NotImplementedError`。"
106
110
107
111
#: ../../library/constants.rst:55
112
+ #, fuzzy
108
113
msgid ""
109
- "Evaluating `` NotImplemented`` in a boolean context is deprecated. While it "
110
- "currently evaluates as true, it will emit a :exc:`DeprecationWarning`. It "
114
+ "Evaluating :data:`! NotImplemented` in a boolean context is deprecated. While "
115
+ "it currently evaluates as true, it will emit a :exc:`DeprecationWarning`. It "
111
116
"will raise a :exc:`TypeError` in a future version of Python."
112
117
msgstr ""
113
118
"在 boolean(布林)上下文中解讀 ``NotImplemented`` 已經被棄用。雖然目前會被解"
0 commit comments