Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sync with CPython 3.14#1153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
pydoc-zh-tw wants to merge11 commits into3.14
base:3.14
Choose a base branch
Loading
fromcron/sync/3.14
Draft
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletionsc-api/capsule.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-29 00:17+0000\n"
"POT-Creation-Date: 2025-10-25 22:20+0000\n"
"PO-Revision-Date: 2018-05-23 14:30+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All@@ -29,7 +29,7 @@ msgstr ""
#: ../../c-api/capsule.rst:17
msgid ""
"This subtype of :c:type:`PyObject` represents an opaque value, useful for C "
"extension moduleswho need to pass an opaque value (as a :c:expr:`void*` "
"extension moduleswhich need to pass an opaque value (as a :c:expr:`void*` "
"pointer) through Python code to other C code. It is often used to make a C "
"function pointer defined in one module available to other modules, so the "
"regular import mechanism can be used to access C APIs defined in dynamically "
Expand Down
5 changes: 3 additions & 2 deletionsc-api/cell.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2024-07-10 00:04+0000\n"
"POT-Creation-Date:2025-11-05 00:16+0000\n"
"PO-Revision-Date: 2022-10-16 15:33+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All@@ -27,10 +27,11 @@ msgid "Cell Objects"
msgstr "Cell 物件"

#: ../../c-api/cell.rst:8
#, fuzzy
msgid ""
"\"Cell\" objects are used to implement variables referenced by multiple "
"scopes. For each such variable, a cell object is created to store the value; "
"the local variables of each stack frame that references the valuecontains a "
"the local variables of each stack frame that references the valuecontain a "
"reference to the cells from outer scopes which also use that variable. When "
"the value is accessed, the value contained in the cell is used instead of "
"the cell object itself. This de-referencing of the cell object requires "
Expand Down
54 changes: 26 additions & 28 deletionsc-api/code.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-08 15:25+0800\n"
"POT-Creation-Date: 2025-10-25 22:20+0000\n"
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -36,8 +36,8 @@ msgstr ""

#: ../../c-api/code.rst:24
msgid ""
"This is an instance of :c:type:`PyTypeObject` representing the "
"Python :ref:`code object <code-objects>`."
"This is an instance of :c:type:`PyTypeObject` representing thePython :ref:"
"`code object <code-objects>`."
msgstr ""

#: ../../c-api/code.rst:30
Expand DownExpand Up@@ -73,9 +73,8 @@ msgstr ""

#: ../../c-api/code.rst:54
msgid ""
"Since the definition of the bytecode changes often, "
"calling :c:func:`PyUnstable_Code_New` directly can bind you to a precise "
"Python version."
"Since the definition of the bytecode changes often, calling :c:func:"
"`PyUnstable_Code_New` directly can bind you to a precise Python version."
msgstr ""

#: ../../c-api/code.rst:57
Expand DownExpand Up@@ -132,9 +131,8 @@ msgstr ""

#: ../../c-api/code.rst:101
msgid ""
"For efficiently iterating over the line numbers in a code object, "
"use :pep:`the API described in PEP 626 <0626#out-of-process-debuggers-and-"
"profilers>`."
"For efficiently iterating over the line numbers in a code object, use :pep:"
"`the API described in PEP 626 <0626#out-of-process-debuggers-and-profilers>`."
msgstr ""

#: ../../c-api/code.rst:106
Expand DownExpand Up@@ -180,9 +178,9 @@ msgstr ""
#: ../../c-api/code.rst:147
msgid ""
"Equivalent to the Python code ``getattr(co, 'co_freevars')``. Returns a new "
"reference to a :c:type:`PyTupleObject` containing the names of "
"the :term:`free (closure) variables <closure variable>`. On error, ``NULL`` "
"isreturned and an exception is raised."
"reference to a :c:type:`PyTupleObject` containing the names ofthe :term:"
"`free (closure) variables <closure variable>`. On error, ``NULL`` is "
"returned and an exception is raised."
msgstr ""

#: ../../c-api/code.rst:156
Expand All@@ -195,10 +193,10 @@ msgstr ""

#: ../../c-api/code.rst:165
msgid ""
"Clear watcher identified by *watcher_id* previously returned "
"from :c:func:`PyCode_AddWatcher` for the current interpreter. Return ``0`` "
"on success, or``-1`` and set an exception on error (e.g. if the given "
"*watcher_id* wasnever registered.)"
"Clear watcher identified by *watcher_id* previously returnedfrom :c:func:"
"`PyCode_AddWatcher` for the current interpreter. Return ``0`` on success, or "
"``-1`` and set an exception on error (e.g. if the given *watcher_id* was "
"never registered.)"
msgstr ""

#: ../../c-api/code.rst:174
Expand DownExpand Up@@ -240,8 +238,8 @@ msgstr ""
#: ../../c-api/code.rst:201
msgid ""
"If the callback sets an exception, it must return ``-1``; this exception "
"will be printed as an unraisable exception "
"using :c:func:`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
"will be printed as an unraisable exceptionusing :c:func:"
"`PyErr_WriteUnraisable`. Otherwise it should return ``0``."
msgstr ""

#: ../../c-api/code.rst:205
Expand All@@ -259,18 +257,18 @@ msgstr "程式碼物件旗標"

#: ../../c-api/code.rst:219
msgid ""
"Code objects contain a bit-field of flags, which can be retrieved as "
"the :attr:`~codeobject.co_flags` Python attribute (for example "
"using :c:func:`PyObject_GetAttrString`), and set using a *flags* argument "
"to :c:func:`PyUnstable_Code_New` and similar functions."
"Code objects contain a bit-field of flags, which can be retrieved asthe :"
"attr:`~codeobject.co_flags` Python attribute (for exampleusing :c:func:"
"`PyObject_GetAttrString`), and set using a *flags* argumentto :c:func:"
"`PyUnstable_Code_New` and similar functions."
msgstr ""

#: ../../c-api/code.rst:224
msgid ""
"Flags whose names start with ``CO_FUTURE_`` correspond to features normally "
"selectable by :ref:`future statements <future>`. These flags can be used "
"in :c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags "
"aremandatory in current versions of Python, and setting them has no effect."
"selectable by :ref:`future statements <future>`. These flags can be usedin :"
"c:member:`PyCompilerFlags.cf_flags`. Note that many ``CO_FUTURE_`` flags are "
"mandatory in current versions of Python, and setting them has no effect."
msgstr ""

#: ../../c-api/code.rst:230
Expand DownExpand Up@@ -378,7 +376,7 @@ msgid ""
msgstr ""

#: ../../c-api/code.rst:292
msgid "Return a newanopaque index value used to adding data to code objects."
msgid "Return a new opaque index value used to adding data to code objects."
msgstr ""

#: ../../c-api/code.rst:294
Expand All@@ -391,8 +389,8 @@ msgstr ""
#: ../../c-api/code.rst:298
msgid ""
"If *free* is not ``NULL``: when a code object is deallocated, *free* will be "
"called on non-``NULL`` data stored under the new index. "
"Use :c:func:`Py_DecRef` when storing :c:type:`PyObject`."
"called on non-``NULL`` data stored under the new index.Use :c:func:"
"`Py_DecRef` when storing :c:type:`PyObject`."
msgstr ""

#: ../../c-api/code.rst:304
Expand Down
21 changes: 17 additions & 4 deletionsc-api/codec.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2023-07-29 00:03+0000\n"
"POT-Creation-Date:2025-11-07 00:14+0000\n"
"PO-Revision-Date: 2023-07-24 17:51+0000\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All@@ -27,9 +27,11 @@ msgid "Register a new codec search function."
msgstr "註冊一個新的編解碼器搜尋函式。"

#: ../../c-api/codec.rst:10
#, fuzzy
msgid ""
"As side effect, this tries to load the :mod:`!encodings` package, if not yet "
"done, to make sure that it is always first in the list of search functions."
"As a side effect, this tries to load the :mod:`!encodings` package, if not "
"yet done, to make sure that it is always first in the list of search "
"functions."
msgstr ""
"作為副作用 (side effect),這會嘗試載入 :mod:`!encodings`\\ (如果尚未完成),"
"以確保它始終位於搜尋函式列表中的第一個。"
Expand DownExpand Up@@ -71,11 +73,12 @@ msgid "Generic codec based decoding API."
msgstr "基於泛用編解碼器的解碼 API。"

#: ../../c-api/codec.rst:39
#, fuzzy
msgid ""
"*object* is passed through the decoder function found for the given "
"*encoding* using the error handling method defined by *errors*. *errors* "
"may be ``NULL`` to use the default method defined for the codec. Raises a :"
"exc:`LookupError` if noencoder can be found."
"exc:`LookupError` if nodecoder can be found."
msgstr ""
"*object* 被傳遞給以給定 *encoding* 所查找到的解碼器函式,並使用以 *errors* 定"
"義的錯誤處理方法。*errors* 可以設為 ``NULL`` 來使用編解碼器定義的預設方法。如"
Expand DownExpand Up@@ -198,3 +201,13 @@ msgstr "將 unicode 編碼錯誤替換為反斜線跳脫(``\\x``、``\\u`` 和
#: ../../c-api/codec.rst:129
msgid "Replace the unicode encode error with ``\\N{...}`` escapes."
msgstr "將 unicode 編碼錯誤替換為 ``\\N{...}`` 跳脫。"

#: ../../c-api/codec.rst:135
msgid "Codec utility variables"
msgstr ""

#: ../../c-api/codec.rst:139
msgid ""
"A string constant containing the lowercase hexadecimal digits: "
"``\"0123456789abcdef\"``."
msgstr ""
35 changes: 18 additions & 17 deletionsc-api/conversion.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-09-08 15:25+0800\n"
"POT-Creation-Date: 2025-11-03 00:16+0000\n"
"PO-Revision-Date: 2023-12-11 18:26+0000\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All@@ -31,17 +31,17 @@ msgstr "用於數字轉換和格式化字串輸出的函式。"
#: ../../c-api/conversion.rst:13
msgid ""
"Output not more than *size* bytes to *str* according to the format string "
"*format* and the extra arguments. See the Unix man "
"page :manpage:`snprintf(3)`."
"*format* and the extra arguments. See the Unix manpage :manpage:"
"`snprintf(3)`."
msgstr ""
"根據格式字串 *format* 和額外引數,輸出不超過 *size* 位元組給 *str*。請參閱 "
"Unix 使用手冊 :manpage:`snprintf(3)`。"

#: ../../c-api/conversion.rst:19
msgid ""
"Output not more than *size* bytes to *str* according to the format string "
"*format* and the variable argument list *va*. Unix man "
"page :manpage:`vsnprintf(3)`."
"*format* and the variable argument list *va*. Unix manpage :manpage:"
"`vsnprintf(3)`."
msgstr ""
"根據格式字串 *format* 和變數引數串列 *va*,輸出不超過 *size* 位元組給 *str*。"
"Unix 使用手冊 :manpage:`vsnprintf(3)`。"
Expand All@@ -53,9 +53,9 @@ msgid ""
"is to guarantee consistent behavior in corner cases, which the Standard C "
"functions do not."
msgstr ""
":c:func:`PyOS_snprintf` 和 :c:func:`PyOS_vsnprintf` 包裝標準 C函式庫函"
"式 :c:func:`snprintf` 和 :c:func:`vsnprintf`。它們的目的是確保邊角案例 "
"(cornercase) 下的行為一致,而標準 C 函式則不然。"
":c:func:`PyOS_snprintf` 和 :c:func:`PyOS_vsnprintf` 包裝標準 C函式庫函式 :c:"
"func:`snprintf` 和 :c:func:`vsnprintf`。它們的目的是確保邊角案例 (corner "
"case) 下的行為一致,而標準 C 函式則不然。"

#: ../../c-api/conversion.rst:28
msgid ""
Expand DownExpand Up@@ -96,10 +96,11 @@ msgstr ""
"才能成功。在這種情況下,``str[size-1]`` 是 ``'\\0'``。"

#: ../../c-api/conversion.rst:44
#, fuzzy
msgid ""
"When ``rv < 0``,\"something bad happened.\"``str[size-1]`` is ``'\\0'`` in "
"this case too, but the rest of *str* is undefined. The exact cause of the "
"error depends on the underlying platform."
"When ``rv < 0``,the output conversion failed and``str[size-1]`` is "
"``'\\0'`` inthis case too, but the rest of *str* is undefined. The exact "
"cause of theerror depends on the underlying platform."
msgstr ""
"當 ``rv < 0`` 時,代表「有不好的事情發生了」。在這種情況下,``str[size-1]`` "
"也是 ``'\\0'``,但 *str* 的其餘部分未定義。錯誤的確切原因取決於底層平台。"
Expand DownExpand Up@@ -129,9 +130,9 @@ msgstr ""
#: ../../c-api/conversion.rst:63
msgid ""
"If the converted value falls out of range of corresponding return type, "
"range error occurs (:c:data:`errno` is set to :c:macro:`!ERANGE`) "
"and :c:macro:`!ULONG_MAX` is returned. If no conversion can be performed, "
"``0`` isreturned."
"range error occurs (:c:data:`errno` is set to :c:macro:`!ERANGE`)and :c:"
"macro:`!ULONG_MAX` is returned. If no conversion can be performed, ``0`` is "
"returned."
msgstr ""

#: ../../c-api/conversion.rst:68
Expand DownExpand Up@@ -169,9 +170,9 @@ msgstr ""

#: ../../c-api/conversion.rst:95
msgid ""
"If ``endptr`` is ``NULL``, convert the whole string. "
"Raise :exc:`ValueError` and return ``-1.0`` if the string is not a valid "
"representationof a floating-point number."
"If ``endptr`` is ``NULL``, convert the whole string.Raise :exc:"
"`ValueError` and return ``-1.0`` if the string is not a valid representation "
"of a floating-point number."
msgstr ""
"如果 ``endptr`` 為 ``NULL``,則轉換整個字串。如果字串不是浮點數的有效表示,則"
"引發 :exc:`ValueError` 並回傳 ``-1.0``。"
Expand Down
5 changes: 3 additions & 2 deletionsc-api/datetime.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2023-08-22 00:03+0000\n"
"POT-Creation-Date:2025-11-05 00:16+0000\n"
"PO-Revision-Date: 2025-10-14 20:39+0800\n"
"Last-Translator: Yorkxe <karta25768@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -85,8 +85,9 @@ msgstr ""
"class:`datetime.datetime.time` 是同一物件"

#: ../../c-api/datetime.rst:49
#, fuzzy
msgid ""
"This instance of :c:type:`PyTypeObject` represents Python type for the "
"This instance of :c:type:`PyTypeObject` representsthePython type for the "
"difference between two datetime values; it is the same object as :class:"
"`datetime.timedelta` in the Python layer."
msgstr ""
Expand Down
9 changes: 5 additions & 4 deletionsc-api/descriptor.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2021-10-26 16:47+0000\n"
"POT-Creation-Date:2025-11-05 00:16+0000\n"
"PO-Revision-Date: 2021-12-09 20:56+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -38,10 +38,11 @@ msgid "The type object for the built-in descriptor types."
msgstr "內建 descriptor 型別的型別物件。"

#: ../../c-api/descriptor.rst:35
#, fuzzy
msgid ""
"Return non-zero if the descriptorobjects *descr* describes a data "
"attribute,or ``0`` if it describes a method. *descr* must be a descriptor "
"object;there is no error checking."
"Return non-zero if the descriptorobject *descr* describes a data attribute, "
"or ``0`` if it describes a method. *descr* must be a descriptor object; "
"there is no error checking."
msgstr ""
"如果 descriptor 物件 *descr* 描述的是一個資料屬性則回傳非零值,或者如果它描述"
"的是一個方法則返回 ``0``。*descr* 必須為一個 descriptor 物件;沒有錯誤檢查。"
Loading

[8]ページ先頭

©2009-2025 Movatter.jp