1- # SOME DESCRIPTIVE TITLE.
21# Copyright (C) 2001 Python Software Foundation
32# This file is distributed under the same license as the Python package.
4- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
53#
6- #, fuzzy
4+ # Translators:
5+ # Adrian Liaw, 2020
6+ # Leon H., 2017
77msgid ""
88msgstr ""
99"Project-Id-Version : Python 3.14\n "
1010"Report-Msgid-Bugs-To : \n "
1111"POT-Creation-Date : 2026-09-14 00:21+0000\n "
12- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13- "Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14- "Language-Team : LANGUAGE <LL@li.org>\n "
12+ "PO-Revision-Date : 2021-11-19 23:36+0800\n "
13+ "Last-Translator : Jordan Su <newjordansu1126@gmail.com>\n "
14+ "Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
15+ "tw)\n "
1516"Language : zh_TW\n "
1617"MIME-Version : 1.0\n "
1718"Content-Type : text/plain; charset=UTF-8\n "
1819"Content-Transfer-Encoding : 8bit\n "
1920
2021#: ../../builtins/constants.rst:4
2122msgid "Built-in Constants"
22- msgstr ""
23+ msgstr "內建常數 "
2324
2425#: ../../builtins/constants.rst:6
2526msgid "A small number of constants live in the built-in namespace. They are:"
26- msgstr ""
27+ msgstr "有一小部分的常數存在於內建命名空間中。他們是: "
2728
2829#: ../../builtins/constants.rst:10
2930msgid ""
3031"The false value of the :class:`bool` type. Assignments to ``False`` are "
3132"illegal and raise a :exc:`SyntaxError`."
3233msgstr ""
34+ "在 :class:`bool` 型別中的 false 值。對於 ``False`` 的賦值是不合法的,並且會拋"
35+ "出 :exc:`SyntaxError`。"
3336
3437#: ../../builtins/constants.rst:16
3538msgid ""
3639"The true value of the :class:`bool` type. Assignments to ``True`` are "
3740"illegal and raise a :exc:`SyntaxError`."
3841msgstr ""
42+ "在 :class:`bool` 型別中的 true 值。對於 ``True`` 的賦值是不合法的,並且會拋"
43+ "出 :exc:`SyntaxError`。"
3944
4045#: ../../builtins/constants.rst:22
4146msgid ""
@@ -44,18 +49,28 @@ msgid ""
4449"illegal and raise a :exc:`SyntaxError`. ``None`` is the sole instance of "
4550"the :class:`~types.NoneType` type."
4651msgstr ""
52+ "一個經常被使用來表達缺少值的物件,例如未傳送預設的引數至函式時。對於 "
53+ "``None`` 的賦值是不合法的,並且會引發 :exc:`SyntaxError`。``None`` "
54+ "是 :class:`~types.NoneType` 型別的唯一實例。"
4755
4856#: ../../builtins/constants.rst:30
4957msgid ""
50- "A special value which should be returned by the binary special methods (e."
51- "g. :meth:`~object.__eq__`, :meth:`~object.__lt__`, :meth:`~object.__add__`, :"
52- "meth:`~object.__rsub__`, etc.) to indicate that the operation is not "
53- "implemented with respect to the other type; may be returned by the in-place "
54- "binary special methods (e.g. :meth:`~object.__imul__`, :meth:`~object."
55- "__iand__`, etc.) for the same purpose. It should not be evaluated in a "
56- "boolean context. :data:`!NotImplemented` is the sole instance of the :class:"
57- "`types.NotImplementedType` type."
58- msgstr ""
58+ "A special value which should be returned by the binary special methods "
59+ "(e.g. :meth:`~object.__eq__`, :meth:`~object.__lt__`, :meth:`~object.__add__`, :meth:`~object.__rsub__`, "
60+ "etc.) to indicate that the operation is not implemented with respect to the "
61+ "other type; may be returned by the in-place binary special methods "
62+ "(e.g. :meth:`~object.__imul__`, :meth:`~object.__iand__`, etc.) for the same "
63+ "purpose. It should not be evaluated in a boolean context. :data:`!"
64+ "NotImplemented` is the sole instance of "
65+ "the :class:`types.NotImplementedType` type."
66+ msgstr ""
67+ "會被二元特殊方法 (binary special methods)"
68+ "(如::meth:`~object.__eq__`、:meth:`~object.__lt__`、:meth:`~object.__add__`、:meth:`~object.__rsub__` "
69+ "等)所回傳的特殊值,代表著該運算沒有針對其他型別的實作。同理也可以被原地二元"
70+ "特殊方法 (in-place binary special methods) "
71+ "(如::meth:`~object.__imul__`、:meth:`~object.__iand__` 等)回傳。它不應該被"
72+ "作為 boolean(布林)來解讀。:data:`!NotImplemented` "
73+ "是 :class:`types.NotImplementedType` 型別的唯一實例。"
5974
6075#: ../../builtins/constants.rst:40
6176msgid ""
@@ -67,28 +82,40 @@ msgid ""
6782"error message or the :data:`!NotImplemented` value being returned to Python "
6883"code."
6984msgstr ""
85+ "當一個二元 (binary) 或原地 (in-place) 方法回傳 :data:`!NotImplemented`,直譯"
86+ "器會嘗試反映該操作到其他型別(或是其他後備 (fallback),取決於是哪種運算子)。"
87+ "如果所有的常識都回傳 :data:`!NotImplemented`,直譯器會拋出適當的例外。不正確"
88+ "的回傳 :data:`!NotImplemented` 會造成誤導的錯誤訊息或是 :data:`!"
89+ "NotImplemented` 值被傳回到 Python 程式碼中。"
7090
7191#: ../../builtins/constants.rst:47
7292msgid "See :ref:`implementing-the-arithmetic-operations` for examples."
73- msgstr ""
93+ msgstr "請參見 :ref:`implementing-the-arithmetic-operations` 以找到更多範例。 "
7494
7595#: ../../builtins/constants.rst:51
7696msgid ""
7797":data:`!NotImplemented` and :exc:`!NotImplementedError` are not "
78- "interchangeable. This constant should only be used as described above; see : "
79- "exc:`NotImplementedError` for details on correct usage of the exception."
98+ "interchangeable. This constant should only be used as described above; "
99+ "see : exc:`NotImplementedError` for details on correct usage of the exception."
80100msgstr ""
101+ ":data:`!NotImplemented` 與 :exc:`!NotImplementedError` 並不一樣且不可互換。這"
102+ "個常數只能用於上述的情況;欲知更多如何正確使用它們的細節,請參"
103+ "見 :exc:`NotImplementedError`。"
81104
82105#: ../../builtins/constants.rst:56
83106msgid "Evaluating :data:`!NotImplemented` in a boolean context was deprecated."
84107msgstr ""
108+ "在 boolean(布林)上下文中對 :data:`!NotImplemented` 求值的操作已被棄用。"
85109
86110#: ../../builtins/constants.rst:59
87111msgid ""
88- "Evaluating :data:`!NotImplemented` in a boolean context now raises a :exc: "
89- "`TypeError`. It previously evaluated to :const:`True` and emitted a :exc: "
90- "`DeprecationWarning` since Python 3.9."
112+ "Evaluating :data:`!NotImplemented` in a boolean context now raises "
113+ "a :exc: `TypeError`. It previously evaluated to :const:`True` and emitted "
114+ "a :exc: `DeprecationWarning` since Python 3.9."
91115msgstr ""
116+ "在 boolean 上下文中解讀 :data:`!NotImplemented` 現在會引發 :exc:`TypeError`。"
117+ "過去自 Python 3.9 以來,這會被解讀成 :const:`True`,並發"
118+ "出 :exc:`DeprecationWarning`"
92119
93120#: ../../builtins/constants.rst:68
94121msgid ""
@@ -97,23 +124,32 @@ msgid ""
97124"but assignment to ``...`` raises a :exc:`SyntaxError`. ``Ellipsis`` is the "
98125"sole instance of the :class:`types.EllipsisType` type."
99126msgstr ""
127+ "與刪節號 \" ``...``\" 字面相同,是一個經常被用來表示某些東西被省略的物件。對"
128+ "於 ``Ellipsis`` 的賦值是可能的,但對於 ``...`` 的賦值會引"
129+ "發 :exc:`SyntaxError`。``Ellipsis`` 是 :class:`types.EllipsisType` 型別的唯一"
130+ "實例。"
100131
101132#: ../../builtins/constants.rst:76
102133msgid ""
103134"This constant is true if Python was not started with an :option:`-O` option. "
104135"See also the :keyword:`assert` statement."
105136msgstr ""
137+ "如果 Python 沒有被以 :option:`-O` 選項啟動,則此常數為 true。請參"
138+ "見 :keyword:`assert` 陳述式。"
106139
107140#: ../../builtins/constants.rst:82
108141msgid ""
109142"The names :data:`None`, :data:`False`, :data:`True` and :data:`__debug__` "
110- "cannot be reassigned (assignments to them, even as an attribute name, raise : "
111- "exc:`SyntaxError`), so they can be considered \" true\" constants."
143+ "cannot be reassigned (assignments to them, even as an attribute name, "
144+ "raise : exc:`SyntaxError`), so they can be considered \" true\" constants."
112145msgstr ""
146+ ":data:`None`,:data:`False`,:data:`True`,以及 :data:`__debug__` 都是不能被"
147+ "重新賦值的(任何對它們的賦值,即使是屬性的名稱,也會拋"
148+ "出 :exc:`SyntaxError`)。因此,它們可以被視為”真正的”常數。"
113149
114150#: ../../builtins/constants.rst:90
115151msgid "Constants added by the :mod:`site` module"
116- msgstr ""
152+ msgstr "由 :mod:`site` module(模組)所添增的常數 "
117153
118154#: ../../builtins/constants.rst:92
119155msgid ""
@@ -122,39 +158,50 @@ msgid ""
122158"constants to the built-in namespace. They are useful for the interactive "
123159"interpreter shell and should not be used in programs."
124160msgstr ""
161+ ":mod:`site` module(模組)(在啟動期間自動 import ,除非有給予 :option:`-S` "
162+ "指令行選項)會添增一些常數到內建命名空間 (built-in namespace) 中。它們在互動"
163+ "式直譯器中是很有幫助的,但不應該在程式 (programs) 中被使用。"
125164
126165#: ../../builtins/constants.rst:100
127166msgid ""
128167"Objects that when printed, print a message like \" Use quit() or Ctrl-D (i.e. "
129168"EOF) to exit\" , and when accessed directly in the interactive interpreter or "
130169"called as functions, raise :exc:`SystemExit` with the specified exit code."
131170msgstr ""
171+ "當印出物件時,會印出一個訊息:\" Use quit() or Ctrl-D (i.e. EOF) to exit\" 。當"
172+ "直接在互動式直譯器中存取或作為函式呼叫時,會引發 :exc:`SystemExit` 並帶有指定"
173+ "的返回碼(exit code)。"
132174
133175#: ../../builtins/constants.rst:108
134176msgid ""
135177"Object that when printed, prints the message \" Type help() for interactive "
136178"help, or help(object) for help about object.\" , and when accessed directly "
137- "in the interactive interpreter, invokes the built-in help system (see :func: "
138- "`help`)."
179+ "in the interactive interpreter, invokes the built-in help system "
180+ "(see :func: `help`)."
139181msgstr ""
182+ "當印出此物件時,會印出訊息 \" Type help() for interactive help, or "
183+ "help(object) for help about object.\" ,並在互動式直譯器中直接存取時,會叫用內"
184+ "建的幫助系統(參見 :func:`help`)。"
140185
141186#: ../../builtins/constants.rst:116
142187msgid ""
143188"Objects that when printed or called, print the text of copyright or credits, "
144189"respectively."
145- msgstr ""
190+ msgstr "當印出或是呼叫此物件時,分別會印出版權與致謝的文字。 "
146191
147192#: ../../builtins/constants.rst:121
148193msgid ""
149194"Object that when printed, prints the message \" Type license() to see the "
150195"full license text\" , and when called, displays the full license text in a "
151196"pager-like fashion (one screen at a time)."
152197msgstr ""
198+ "當印出此物件時,會印出訊息 \" Type license() to see the full license text\" ,"
199+ "並在呼叫時以分頁形式印出完整的許可證文字(一次一整個畫面)。"
153200
154201#: ../../builtins/constants.rst:65
155202msgid "..."
156- msgstr ""
203+ msgstr "... "
157204
158205#: ../../builtins/constants.rst:65
159206msgid "ellipsis literal"
160- msgstr ""
207+ msgstr "ellipsis literal(刪節號字面值) "
0 commit comments