Skip to content

Commit f41fc27

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44claude
authored
Sync with CPython 3.14 (#1231)
* sync with cpython 575916d5 * sync with cpython 157a5df8 * sync with cpython a8003f6d * sync with cpython 51e83ca7 * sync with cpython b3a7758d * sync with cpython c737fb31 * Translate fuzzy entries from upstream sync (#1237) * Translate fuzzy entries from upstream sync * Apply suggestions from code review Co-authored-by: W. H. Wang <mattwang44@gmail.com> --------- Co-authored-by: Claude <noreply@anthropic.com> * sync with cpython 945a1ac7 * sync with cpython aa485557 * sync with cpython 60132db9 * sync with cpython 72023139 * sync with cpython 2e873f7b * sync with cpython 4330f467 * Translate fuzzy entries from upstream sync (#1238) Claude-Session: https://claude.ai/code/session_01REgcaNJVQfFfzdUJUypcPq Co-authored-by: Claude <noreply@anthropic.com> * sync with cpython b078ae98 * sync with cpython 912a68b6 * sync with cpython 33b5aebf * sync with cpython 6e61e3c1 * sync with cpython af3c9128 * sync with cpython 84badb77 * sync with cpython 5a09ae28 * sync with cpython 67d4cbf1 * sync with cpython 68b501db * sync with cpython 8a2e34c9 * sync with cpython 44b4029a * sync with cpython 07efb081 * sync with cpython c6f5a737 * sync with cpython ef862d61 * sync with cpython 3d802b5b * sync with cpython 0f529b1c * sync with cpython 7a7da86d * sync with cpython 467fab9e * sync with cpython b587c54b * sync with cpython bb29dc2e * sync with cpython c628cd70 * sync with cpython a3d61936 * sync with cpython 9b33b258 * sync with cpython 6337bfd4 * sync with cpython 8b5f1c24 * sync with cpython b2e8bd6c * sync with cpython 37a5c690 * sync with cpython a73668a2 * sync with cpython 92b0ec64 * sync with cpython 89be6f77 * sync with cpython 04735dee * sync with cpython 71dfe72b * sync with cpython 91abbe6f * sync with cpython 802a2c8b * sync with cpython b0ef8b4f * sync with cpython 709041c3 * sync with cpython 162bd7ea * sync with cpython 085fd75c * sync with cpython 4683ac19 * sync with cpython 1b1c61a9 * sync with cpython c611e80a * sync with cpython d755701b * sync with cpython 4e9ec0a0 * sync with cpython 7101666e * sync with cpython 422e6793 * sync with cpython b104b74e * sync with cpython a59c5bb0 * sync with cpython 90a1f02b * sync with cpython 5a7c9d25 * sync with cpython 27349e70 * sync with cpython d3fe3de5 * sync with cpython 27721ddc * sync with cpython f6b1201e * sync with cpython 7267c9b8 * sync with cpython f9fdb30d * sync with cpython 28b944cc * sync with cpython 948f962f * sync with cpython 686b543e * sync with cpython 4e8bce4d * sync with cpython f6842dda * sync with cpython 54717b65 * sync with cpython 92cab347 * sync with cpython 384ac4dd * sync with cpython a6d25db9 * sync with cpython 5400055d * sync with cpython 81299120 * sync with cpython cb81ae43 * sync with cpython 09c867d3 * sync with cpython d6375c3d * sync with cpython 8f8cf4f1 * sync with cpython 1145c056 * sync with cpython 9227dfbb * sync with cpython e700dbda * sync with cpython 1d8c9f85 * sync with cpython 78bdd3dd * sync with cpython 82075394 * sync with cpython 66f8dbe0 * sync with cpython c2d1138c * sync with cpython 2bcad2fb * sync with cpython 81c40fa1 * sync with cpython e47e1015 * sync with cpython 66df30d1 * sync with cpython 3c6de410 * sync with cpython e0c28e2a * sync with cpython d9dde70e * sync with cpython 758278c2 * sync with cpython 3ef92a27 * sync with cpython 69092874 * sync with cpython dacf4726 * Port translations for docs moved from library/ to builtins/ CPython gh-156682 (3.14 backport GH-157441) moved constants, exceptions, functions, stdtypes, threadsafety and time-complexity from Doc/library/ to Doc/builtins/ without content changes. The sync workflow only created empty builtins/*.po and left the old library/*.po orphaned. Merge the existing translations into builtins/*.po with translate-toolkit pomerge (--mergecomments=no --mergefuzzy=no --mergeblanks=no), keep the original translator header comments, and remove the orphaned library/*.po. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fill code-only and markup-only entries from upstream sync For msgids newly introduced or turned fuzzy by this sync that need no or almost no translation: - msgids that are only inline markup (roles, literals, math, footnote refs): copy msgid to msgstr - literal blocks (doctest, ::, code-block) without comments, and license texts: copy msgid to msgstr - literal blocks with a few comments: copy the code and translate only the comments, reusing existing comment translations where available Fuzzy flags on these entries are cleared. Edits are limited to the target entries; the rest of each file is byte-for-byte unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Resolve trivially fixable fuzzy entries from upstream sync Fuzzy entries that need no real translation judgement: - msgid changed only in reST markup, e.g. :func: -> :deco: for decorators, :const:`None` -> ``None``, fully qualified role targets, renamed parameters (*secs* -> *seconds*): port the same token change into the msgstr. Applied only when every msgid difference is a markup token or whitespace and each token occurs verbatim in the msgstr. - pure deletions (e.g. dropped "soft deprecated", removed sentences): delete the corresponding part of the msgstr. - small wording changes (e.g. eg. -> for example, category -> class, exhausted -> :term:`exhausted`, updated URLs, added "See :pep:`525`."): keep or minimally adjust the msgstr. - msgmerge matched the wrong old entry for a short, formulaic msgid (headings, "a string or None", "This is an alias to ..."): retranslate. Entries with substantive prose changes are left fuzzy for human review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Translate remaining fuzzy entries from upstream sync Resolve every fuzzy entry introduced by this sync whose msgid had a substantive change: update the existing translation to the new source text (added or removed sentences, reworded clauses, new :term: and :ref: links), or retranslate where msgmerge had matched an unrelated old entry. reference/grammar.po only gained code lines (invalid_noteq), which are inserted into the existing translation unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Fix translation issues found in review Address every entry flagged by at least one of three independent reviewers in the files this sync touches: - mistranslations and omissions (library/intro, bisect, functools, itertools "if at all", weakref "remaining", wrong contributor name in whatsnew/3.11) - broken markup: single instead of double backticks in http.cookiejar - terminology: unify :term:`exhausted` as 耗盡 and translate its glossary entry; modal -> 強制回應; class -> 類別; documentation -> 說明文件; replace Mainland terms (設置, 鏈接, 實現, 交互模式, 鍊表, 運行, ...) - punctuation: half-width brackets and quotes in Chinese text, stray spaces around full-width punctuation, unnecessary or missing escapes Also adopt the better wording from the earlier attempt in #1239 where it is more accurate or more natural (e.g. atexit "signal not handled by Python", numbers, tuple "already in the tuple", tkinter Variable and index docs), drop the stray trailing newline in tutorial/controlflow that made msgfmt fail, and write :term: roles in glossary entries touched by this sync as :term:`中文 <term>` as requested in #1239. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: W. H. Wang <mattwang44@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2d28924 commit f41fc27

208 files changed

Lines changed: 40166 additions & 28985 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 64 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-06-03 00:49+0000\n"
11+
"POT-Creation-Date: 2026-09-14 00:21+0000\n"
1212
"PO-Revision-Date: 2021-11-19 23:36+0800\n"
1313
"Last-Translator: Jordan Su <newjordansu1126@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -17,63 +17,62 @@ msgstr ""
1717
"MIME-Version: 1.0\n"
1818
"Content-Type: text/plain; charset=UTF-8\n"
1919
"Content-Transfer-Encoding: 8bit\n"
20-
"Plural-Forms: nplurals=1; plural=0;\n"
21-
"X-Generator: Poedit 3.0\n"
2220

23-
#: ../../library/constants.rst:4
21+
#: ../../builtins/constants.rst:4
2422
msgid "Built-in Constants"
2523
msgstr "內建常數"
2624

27-
#: ../../library/constants.rst:6
25+
#: ../../builtins/constants.rst:6
2826
msgid "A small number of constants live in the built-in namespace. They are:"
2927
msgstr "有一小部分的常數存在於內建命名空間中。他們是:"
3028

31-
#: ../../library/constants.rst:10
29+
#: ../../builtins/constants.rst:10
3230
msgid ""
3331
"The false value of the :class:`bool` type. Assignments to ``False`` are "
3432
"illegal and raise a :exc:`SyntaxError`."
3533
msgstr ""
3634
"在 :class:`bool` 型別中的 false 值。對於 ``False`` 的賦值是不合法的,並且會拋"
3735
"出 :exc:`SyntaxError`。"
3836

39-
#: ../../library/constants.rst:16
37+
#: ../../builtins/constants.rst:16
4038
msgid ""
4139
"The true value of the :class:`bool` type. Assignments to ``True`` are "
4240
"illegal and raise a :exc:`SyntaxError`."
4341
msgstr ""
4442
"在 :class:`bool` 型別中的 true 值。對於 ``True`` 的賦值是不合法的,並且會拋"
4543
"出 :exc:`SyntaxError`。"
4644

47-
#: ../../library/constants.rst:22
45+
#: ../../builtins/constants.rst:22
4846
msgid ""
4947
"An object frequently used to represent the absence of a value, as when "
5048
"default arguments are not passed to a function. Assignments to ``None`` are "
5149
"illegal and raise a :exc:`SyntaxError`. ``None`` is the sole instance of "
5250
"the :class:`~types.NoneType` type."
5351
msgstr ""
5452
"一個經常被使用來表達缺少值的物件,例如未傳送預設的引數至函式時。對於 "
55-
"``None`` 的賦值是不合法的,並且會引發 :exc:`SyntaxError`。``None`` 是 :class:"
56-
"`~types.NoneType` 型別的唯一實例。"
57-
58-
#: ../../library/constants.rst:30
59-
msgid ""
60-
"A special value which should be returned by the binary special methods (e."
61-
"g. :meth:`~object.__eq__`, :meth:`~object.__lt__`, :meth:`~object.__add__`, :"
62-
"meth:`~object.__rsub__`, etc.) to indicate that the operation is not "
63-
"implemented with respect to the other type; may be returned by the in-place "
64-
"binary special methods (e.g. :meth:`~object.__imul__`, :meth:`~object."
65-
"__iand__`, etc.) for the same purpose. It should not be evaluated in a "
66-
"boolean context. :data:`!NotImplemented` is the sole instance of the :class:"
67-
"`types.NotImplementedType` type."
68-
msgstr ""
69-
"會被二元特殊方法 (binary special methods)(如::meth:`~object.__eq__`、:meth:"
70-
"`~object.__lt__`、:meth:`~object.__add__`、:meth:`~object.__rsub__` 等)所回"
71-
"傳的特殊值,代表著該運算沒有針對其他型別的實作。同理也可以被原地二元特殊方法 "
72-
"(in-place binary special methods) (如::meth:`~object.__imul__`、:meth:"
73-
"`~object.__iand__` 等)回傳。它不應該被作為 boolean(布林)來解讀。:data:`!"
74-
"NotImplemented` 是 :class:`types.NotImplementedType` 型別的唯一實例。"
75-
76-
#: ../../library/constants.rst:40
53+
"``None`` 的賦值是不合法的,並且會引發 :exc:`SyntaxError`。``None`` "
54+
"是 :class:`~types.NoneType` 型別的唯一實例。"
55+
56+
#: ../../builtins/constants.rst:30
57+
msgid ""
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` 型別的唯一實例。"
74+
75+
#: ../../builtins/constants.rst:40
7776
msgid ""
7877
"When a binary (or in-place) method returns :data:`!NotImplemented` the "
7978
"interpreter will try the reflected operation on the other type (or some "
@@ -89,69 +88,70 @@ msgstr ""
8988
"的回傳 :data:`!NotImplemented` 會造成誤導的錯誤訊息或是 :data:`!"
9089
"NotImplemented` 值被傳回到 Python 程式碼中。"
9190

92-
#: ../../library/constants.rst:47
91+
#: ../../builtins/constants.rst:47
9392
msgid "See :ref:`implementing-the-arithmetic-operations` for examples."
9493
msgstr "請參見 :ref:`implementing-the-arithmetic-operations` 以找到更多範例。"
9594

96-
#: ../../library/constants.rst:51
95+
#: ../../builtins/constants.rst:51
9796
msgid ""
9897
":data:`!NotImplemented` and :exc:`!NotImplementedError` are not "
99-
"interchangeable. This constant should only be used as described above; see :"
100-
"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."
101100
msgstr ""
102101
":data:`!NotImplemented` 與 :exc:`!NotImplementedError` 並不一樣且不可互換。這"
103-
"個常數只能用於上述的情況;欲知更多如何正確使用它們的細節,請參見 :exc:"
104-
"`NotImplementedError`。"
102+
"個常數只能用於上述的情況;欲知更多如何正確使用它們的細節,請參"
103+
"見 :exc:`NotImplementedError`。"
105104

106-
#: ../../library/constants.rst:56
105+
#: ../../builtins/constants.rst:56
107106
msgid "Evaluating :data:`!NotImplemented` in a boolean context was deprecated."
108107
msgstr ""
109108
"在 boolean(布林)上下文中對 :data:`!NotImplemented` 求值的操作已被棄用。"
110109

111-
#: ../../library/constants.rst:59
110+
#: ../../builtins/constants.rst:59
112111
msgid ""
113-
"Evaluating :data:`!NotImplemented` in a boolean context now raises a :exc:"
114-
"`TypeError`. It previously evaluated to :const:`True` and emitted a :exc:"
115-
"`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."
116115
msgstr ""
117116
"在 boolean 上下文中解讀 :data:`!NotImplemented` 現在會引發 :exc:`TypeError`。"
118-
"過去自 Python 3.9 以來,這會被解讀成 :const:`True`,並發出 :exc:"
119-
"`DeprecationWarning`"
117+
"過去自 Python 3.9 以來,這會被解讀成 :const:`True`,並發"
118+
"出 :exc:`DeprecationWarning`"
120119

121-
#: ../../library/constants.rst:68
120+
#: ../../builtins/constants.rst:68
122121
msgid ""
123122
"The same as the ellipsis literal \"``...``\", an object frequently used to "
124123
"indicate that something is omitted. Assignment to ``Ellipsis`` is possible, "
125124
"but assignment to ``...`` raises a :exc:`SyntaxError`. ``Ellipsis`` is the "
126125
"sole instance of the :class:`types.EllipsisType` type."
127126
msgstr ""
128127
"與刪節號 \"``...``\" 字面相同,是一個經常被用來表示某些東西被省略的物件。對"
129-
"於 ``Ellipsis`` 的賦值是可能的,但對於 ``...`` 的賦值會引發 :exc:"
130-
"`SyntaxError`。``Ellipsis`` 是 :class:`types.EllipsisType` 型別的唯一實例。"
128+
"於 ``Ellipsis`` 的賦值是可能的,但對於 ``...`` 的賦值會引"
129+
"發 :exc:`SyntaxError`。``Ellipsis`` 是 :class:`types.EllipsisType` 型別的唯一"
130+
"實例。"
131131

132-
#: ../../library/constants.rst:76
132+
#: ../../builtins/constants.rst:76
133133
msgid ""
134134
"This constant is true if Python was not started with an :option:`-O` option. "
135135
"See also the :keyword:`assert` statement."
136136
msgstr ""
137-
"如果 Python 沒有被以 :option:`-O` 選項啟動,則此常數為 true。請參見 :keyword:"
138-
"`assert` 陳述式。"
137+
"如果 Python 沒有被以 :option:`-O` 選項啟動,則此常數為 true。請參"
138+
"見 :keyword:`assert` 陳述式。"
139139

140-
#: ../../library/constants.rst:82
140+
#: ../../builtins/constants.rst:82
141141
msgid ""
142142
"The names :data:`None`, :data:`False`, :data:`True` and :data:`__debug__` "
143-
"cannot be reassigned (assignments to them, even as an attribute name, raise :"
144-
"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."
145145
msgstr ""
146146
":data:`None`,:data:`False`,:data:`True`,以及 :data:`__debug__` 都是不能被"
147-
"重新賦值的(任何對它們的賦值,即使是屬性的名稱,也會拋出 :exc:"
148-
"`SyntaxError`)。因此,它們可以被視為”真正的”常數。"
147+
"重新賦值的(任何對它們的賦值,即使是屬性的名稱,也會拋"
148+
"出 :exc:`SyntaxError`)。因此,它們可以被視為”真正的”常數。"
149149

150-
#: ../../library/constants.rst:90
150+
#: ../../builtins/constants.rst:90
151151
msgid "Constants added by the :mod:`site` module"
152152
msgstr "由 :mod:`site` module(模組)所添增的常數"
153153

154-
#: ../../library/constants.rst:92
154+
#: ../../builtins/constants.rst:92
155155
msgid ""
156156
"The :mod:`site` module (which is imported automatically during startup, "
157157
"except if the :option:`-S` command-line option is given) adds several "
@@ -162,7 +162,7 @@ msgstr ""
162162
"指令行選項)會添增一些常數到內建命名空間 (built-in namespace) 中。它們在互動"
163163
"式直譯器中是很有幫助的,但不應該在程式 (programs) 中被使用。"
164164

165-
#: ../../library/constants.rst:100
165+
#: ../../builtins/constants.rst:100
166166
msgid ""
167167
"Objects that when printed, print a message like \"Use quit() or Ctrl-D (i.e. "
168168
"EOF) to exit\", and when accessed directly in the interactive interpreter or "
@@ -172,24 +172,24 @@ msgstr ""
172172
"直接在互動式直譯器中存取或作為函式呼叫時,會引發 :exc:`SystemExit` 並帶有指定"
173173
"的返回碼(exit code)。"
174174

175-
#: ../../library/constants.rst:108
175+
#: ../../builtins/constants.rst:108
176176
msgid ""
177177
"Object that when printed, prints the message \"Type help() for interactive "
178178
"help, or help(object) for help about object.\", and when accessed directly "
179-
"in the interactive interpreter, invokes the built-in help system (see :func:"
180-
"`help`)."
179+
"in the interactive interpreter, invokes the built-in help system "
180+
"(see :func:`help`)."
181181
msgstr ""
182182
"當印出此物件時,會印出訊息 \"Type help() for interactive help, or "
183183
"help(object) for help about object.\",並在互動式直譯器中直接存取時,會叫用內"
184184
"建的幫助系統(參見 :func:`help`)。"
185185

186-
#: ../../library/constants.rst:116
186+
#: ../../builtins/constants.rst:116
187187
msgid ""
188188
"Objects that when printed or called, print the text of copyright or credits, "
189189
"respectively."
190190
msgstr "當印出或是呼叫此物件時,分別會印出版權與致謝的文字。"
191191

192-
#: ../../library/constants.rst:121
192+
#: ../../builtins/constants.rst:121
193193
msgid ""
194194
"Object that when printed, prints the message \"Type license() to see the "
195195
"full license text\", and when called, displays the full license text in a "
@@ -198,10 +198,10 @@ msgstr ""
198198
"當印出此物件時,會印出訊息 \"Type license() to see the full license text\","
199199
"並在呼叫時以分頁形式印出完整的許可證文字(一次一整個畫面)。"
200200

201-
#: ../../library/constants.rst:65
201+
#: ../../builtins/constants.rst:65
202202
msgid "..."
203203
msgstr "..."
204204

205-
#: ../../library/constants.rst:65
205+
#: ../../builtins/constants.rst:65
206206
msgid "ellipsis literal"
207207
msgstr "ellipsis literal(刪節號字面值)"

0 commit comments

Comments
 (0)