Skip to content

Commit c17a658

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.14 (#1185)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt.Wang <[email protected]>
1 parent 2d92595 commit c17a658

File tree

118 files changed

+6232
-5870
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+6232
-5870
lines changed

c-api/frame.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ msgstr ""
184184

185185
#: ../../c-api/frame.rst:160
186186
msgid "See :pep:`667` for more information."
187-
msgstr ""
187+
msgstr "更多資訊請參閱 :pep:`667`。"
188188

189189
#: ../../c-api/frame.rst:164
190190
msgid "The type of frame :func:`locals` proxy objects."

c-api/init_config.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2819,7 +2819,7 @@ msgstr ""
28192819

28202820
#: ../../c-api/init_config.rst:1912
28212821
msgid "See :ref:`perf_profiling` for more information."
2822-
msgstr ""
2822+
msgstr "更多資訊請參見 :ref:`perf_profiling`。"
28232823

28242824
#: ../../c-api/init_config.rst:1918
28252825
msgid "Directory of the Python standard library."

c-api/intro.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ msgid ""
6363
"in a real application."
6464
msgstr ""
6565
"不論你是嵌入還是擴充 Python,許多 API 函式都是很有用的;此外,大多數嵌入 "
66-
"Python 的應用程式也需要提供自定義擴充模組,因此在嘗試將 Python 嵌入實際應用程"
66+
"Python 的應用程式也需要提供自訂擴充模組,因此在嘗試將 Python 嵌入實際應用程"
6767
"式之前熟悉編寫擴充可能是個好主意。"
6868

6969
#: ../../c-api/intro.rst:34

c-api/long.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ msgstr ""
818818

819819
#: ../../c-api/long.rst:730
820820
msgid "See the :c:struct:`PyLongLayout` structure."
821-
msgstr ""
821+
msgstr "請見 :c:struct:`PyLongLayout` 結構。"
822822

823823
#: ../../c-api/long.rst:732
824824
msgid ""

c-api/stable.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ msgid ""
200200
msgstr ""
201201
"穩定 ABI 可以防止 ABI 問題,例如由於結構布局或函式簽名變化導致缺少符號或數據"
202202
"損壞的鏈接器 (linker) 錯誤。然而,Python 的其他變化可能會改變 *行為* 的擴充。"
203-
"有關詳細信息,請參閱 Python 的向後相容性政策 (:pep:`387`)。"
203+
"有關詳細資訊,請參閱 Python 的向後相容性政策 (:pep:`387`)。"
204204

205205
#: ../../c-api/stable.rst:108
206206
msgid ""

c-api/structures.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ msgstr "PyObject ob_base;"
129129

130130
#: ../../c-api/structures.rst:86
131131
msgid "See documentation of :c:type:`PyObject` above."
132-
msgstr ""
132+
msgstr "請見上面 :c:type:`PyObject` 的文件。"
133133

134134
#: ../../c-api/structures.rst:91
135135
msgid ""

deprecations/index.po

Lines changed: 35 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.14\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2025-10-06 00:15+0000\n"
8+
"POT-Creation-Date: 2026-01-07 00:14+0000\n"
99
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -494,10 +494,10 @@ msgid ""
494494
"that explicitly specifies the types your code supports (e.g., ``bytes | "
495495
"bytearray | memoryview``)."
496496
msgstr ""
497-
"使用 ``isinstance(obj, collections.abc.Buffer)`` 來測試 ``obj`` 是否在 runtime "
498-
"實作了\\ :ref:`緩衝區協定 <bufferobjects>`。在型別註解的使用中,請用 :class:`~"
499-
"collections.abc.Buffer` 或明確指定你的程式碼所支援型別的聯集(例如 "
500-
"``bytes | bytearray | memoryview``)。"
497+
"使用 ``isinstance(obj, collections.abc.Buffer)`` 來測試 ``obj`` 是否在 "
498+
"runtime 實作了\\ :ref:`緩衝區協定 <bufferobjects>`。在型別註解的使用中,"
499+
"用 :class:`~collections.abc.Buffer` 或明確指定你的程式碼所支援型別的聯集("
500+
"``bytes | bytearray | memoryview``)。"
501501

502502
#: ../../deprecations/pending-removal-in-3.17.rst:14
503503
#: ../../deprecations/pending-removal-in-3.17.rst:42
@@ -510,18 +510,20 @@ msgid ""
510510
"also never understood as subtypes of :class:`!ByteString` (either at runtime "
511511
"or by static type checkers)."
512512
msgstr ""
513-
":class:`!ByteString` 最初被設計為一個抽象類別,以作為 :class:`bytes` 和 :class:`bytearray` "
514-
"的超型別 (supertype)。然而由於 ABC 從未擁有任何方法,知道一個物件是 :class:`!ByteString` 的"
515-
"實例從未真正告訴你任何關於該物件的有用資訊。其他常見的緩衝區型別如 :class:`memoryview` "
516-
"也從未被理解為 :class:`!ByteString` 的子型別(無論是在 runtime 還是由靜態型別檢查器)。"
513+
":class:`!ByteString` 最初被設計為一個抽象類別,以作為 :class:`bytes` 和 :"
514+
"class:`bytearray` 的超型別 (supertype)。然而由於 ABC 從未擁有任何方法,知道一"
515+
"個物件是 :class:`!ByteString` 的實例從未真正告訴你任何關於該物件的有用資訊。"
516+
"其他常見的緩衝區型別如 :class:`memoryview` 也從未被理解為 :class:`!"
517+
"ByteString` 的子型別(無論是在 runtime 還是由靜態型別檢查器)。"
517518

518519
#: ../../deprecations/pending-removal-in-3.17.rst:22
519520
#: ../../deprecations/pending-removal-in-3.17.rst:50
520521
msgid ""
521522
"See :pep:`PEP 688 <688#current-options>` for more details. (Contributed by "
522523
"Shantanu Jain in :gh:`91896`.)"
523524
msgstr ""
524-
"更多細節請見 :pep:`PEP 688 <688#current-options>`。(由 Shantanu Jain 於 :gh:`91896` 貢獻。)"
525+
"更多細節請見 :pep:`PEP 688 <688#current-options>`。(由 Shantanu Jain 於 :gh:"
526+
"`91896` 貢獻。)"
525527

526528
#: ../../deprecations/pending-removal-in-3.17.rst:28
527529
msgid ""
@@ -542,7 +544,28 @@ msgid ""
542544
":class:`typing.ByteString`, deprecated since Python 3.9, is scheduled for "
543545
"removal in Python 3.17."
544546
msgstr ""
545-
":class:`typing.ByteString` 自 Python 3.9 起已被棄用,預計在 Python 3.17 中移除。"
547+
":class:`typing.ByteString` 自 Python 3.9 起已被棄用,預計在 Python 3.17 中移"
548+
"除。"
549+
550+
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:2
551+
#: ../../deprecations/pending-removal-in-3.18.rst:2
552+
msgid "Pending removal in Python 3.18"
553+
msgstr "Python 3.18 中待移除的項目"
554+
555+
#: ../../deprecations/pending-removal-in-3.18.rst:4
556+
msgid ":mod:`decimal`:"
557+
msgstr ":mod:`decimal`:"
558+
559+
#: ../../deprecations/pending-removal-in-3.18.rst:6
560+
msgid ""
561+
"The non-standard and undocumented :class:`~decimal.Decimal` format specifier "
562+
"``'N'``, which is only supported in the :mod:`!decimal` module's C "
563+
"implementation, has been deprecated since Python 3.13. (Contributed by "
564+
"Serhiy Storchaka in :gh:`89902`.)"
565+
msgstr ""
566+
"非標準且無文件記載的 :class:`~decimal.Decimal` 格式說明符號 ``'N'``,僅在 :mod:"
567+
"`!decimal` 模組的 C 實作中被支援,自 Python 3.13 起已被棄用。(由 Serhiy "
568+
"Storchaka 於 :gh:`89902` 中貢獻。)"
546569

547570
#: ../../deprecations/pending-removal-in-3.19.rst:2
548571
msgid "Pending removal in Python 3.19"
@@ -974,7 +997,7 @@ msgstr ""
974997
":func:`sys._clear_type_cache` 已被棄用:請改用 :func:`sys."
975998
"_clear_internal_caches`。"
976999

977-
#: ../../deprecations/index.rst:15
1000+
#: ../../deprecations/index.rst:17
9781001
msgid "C API deprecations"
9791002
msgstr "C API 的棄用項目"
9801003

@@ -1337,10 +1360,6 @@ msgstr ""
13371360
"應改用帶有 :c:type:`PyConfig` 的 :c:func:`Py_InitializeFromConfig` API 來設定"
13381361
"這些選項。或者也可以使用 :c:func:`PyConfig_Get` 在執行時取得這些選項。"
13391362

1340-
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:2
1341-
msgid "Pending removal in Python 3.18"
1342-
msgstr "Python 3.18 中待移除的項目"
1343-
13441363
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:4
13451364
msgid ""
13461365
"The following private functions are deprecated and planned for removal in "
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001 Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Python 3.14\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2026-01-07 00:14+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 <[email protected]>\n"
15+
"Language: zh_TW\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: ../../deprecations/pending-removal-in-3.18.rst:2
21+
msgid "Pending removal in Python 3.18"
22+
msgstr "Python 3.18 中待移除的項目"
23+
24+
#: ../../deprecations/pending-removal-in-3.18.rst:4
25+
msgid ":mod:`decimal`:"
26+
msgstr ":mod:`decimal`:"
27+
28+
#: ../../deprecations/pending-removal-in-3.18.rst:6
29+
msgid ""
30+
"The non-standard and undocumented :class:`~decimal.Decimal` format specifier "
31+
"``'N'``, which is only supported in the :mod:`!decimal` module's C "
32+
"implementation, has been deprecated since Python 3.13. (Contributed by "
33+
"Serhiy Storchaka in :gh:`89902`.)"
34+
msgstr ""
35+
"非標準且無文件記載的 :class:`~decimal.Decimal` 格式說明符號 ``'N'``,僅在 :mod:"
36+
"`!decimal` 模組的 C 實作中被支援,自 Python 3.13 起已被棄用。(由 Serhiy "
37+
"Storchaka 於 :gh:`89902` 中貢獻。)"

extending/extending.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ msgstr ""
6969
"C 擴充介面是 CPython 所特有的,擴充模組在其他 Python 實作上無法運作。在許多情"
7070
"況下,可以避免撰寫 C 擴充並保留對其他實作的可移植性。例如,如果你的用例是呼"
7171
"叫 C 函式庫函式或系統呼叫,你應該考慮使用 :mod:`ctypes` 模組或 `cffi "
72-
"<https://cffi.readthedocs.io/>`_ 函式庫,而不是編寫自定義的 C 程式碼。這些模"
72+
"<https://cffi.readthedocs.io/>`_ 函式庫,而不是編寫自訂的 C 程式碼。這些模"
7373
"組讓你可以撰寫 Python 程式碼來與 C 程式碼介接,而且比起撰寫和編譯 C 擴充模"
7474
"組,這些模組在 Python 實作之間更容易移植。"
7575

faq/design.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ msgid ""
450450
msgstr ""
451451
":meth:`~str.join` 是一個字串方法,因為在用他的時候,你是告訴分隔字串去走遍整"
452452
"個字串序列,並將自己插入到相鄰的兩項之間。這個方法的參數可以是任何符合序列規"
453-
"則的物件,包括自定義的新類別。在 bytes 和 bytearray 物件也有類似的方法可用。"
453+
"則的物件,包括自己定義的新類別。在 bytes 和 bytearray 物件也有類似的方法可用。"
454454

455455
#: ../../faq/design.rst:233
456456
msgid "How fast are exceptions?"

0 commit comments

Comments
 (0)