Skip to content
6 changes: 3 additions & 3 deletions c-api/bytes.po
Original file line number Diff line number Diff 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-11-13 00:15+0000\n"
"POT-Creation-Date: 2025-12-01 00:17+0000\n"
"PO-Revision-Date: 2018-05-23 14:04+0000\n"
"Last-Translator: Adrian Liaw <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -159,8 +159,8 @@ msgid "``%zd``"
msgstr "``%zd``"

#: ../../c-api/bytes.rst:84
msgid ":c:type:`\\ Py_ssize_t`"
msgstr ":c:type:`\\ Py_ssize_t`"
msgid ":c:type:` Py_ssize_t`"
msgstr ":c:type:` Py_ssize_t`"

#: ../../c-api/bytes.rst:84
msgid "Equivalent to ``printf(\"%zd\")``. [1]_"
Expand Down
4 changes: 2 additions & 2 deletions c-api/complex.po
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ msgid ""
msgstr ""
"如果 *op* 不是 Python 複數物件,但有一個 :meth:`~object.__complex__` 方法,則"
"首先會呼叫該方法將 *op* 轉換為 Python 複數物件。如果 :meth:`!__complex__` 並"
"未定義,那麼它會回退到呼叫 :func:`PyFloat_AsDouble` 並回傳其結果。"
"未定義,那麼它會回退到呼叫 :c:func:`PyFloat_AsDouble` 並回傳其結果。"

#: ../../c-api/complex.rst:134 ../../c-api/complex.rst:150
msgid ""
Expand Down Expand Up @@ -222,7 +222,7 @@ msgid ""
msgstr ""
"如果 *op* 不是 Python 複數物件,但有一個 :meth:`~object.__complex__` 方法,則"
"首先會呼叫該方法將 *op* 轉換為 Python 複數物件。如果 :meth:`!__complex__` 並"
"未定義,那麼它會回退到呼叫 :func:`PyFloat_AsDouble` 並於成功時回傳 ``0.0``。"
"未定義,那麼它會回退到呼叫 :c:func:`PyFloat_AsDouble` 並於成功時回傳 ``0.0``。"

#: ../../c-api/complex.rst:158
msgid "Return the :c:type:`Py_complex` value of the complex number *op*."
Expand Down
78 changes: 56 additions & 22 deletions c-api/conversion.po
Original file line number Diff line number Diff 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-11-10 16:45+0000\n"
"POT-Creation-Date: 2025-11-26 00:14+0000\n"
"PO-Revision-Date: 2023-12-11 18:26+0000\n"
"Last-Translator: Matt Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -291,72 +291,106 @@ msgstr ""
"回傳值是指向 *buffer* 的指標,其中包含轉換後的字串,如果轉換失敗則回傳 "
"``NULL``。呼叫者負責透過呼叫 :c:func:`PyMem_Free` 來釋放回傳的字串。"

#: ../../c-api/conversion.rst:167
#: ../../c-api/conversion.rst:168
#, fuzzy
msgid ""
"Case insensitive comparison of strings. The function works almost "
"identically to :c:func:`!strcmp` except that it ignores the case."
"Case insensitive comparison of strings. These functions work almost "
"identically to :c:func:`!strcmp` and :c:func:`!strncmp` (respectively), "
"except that they ignore the case of ASCII characters."
msgstr ""
"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strcmp` 相同,只是它忽"
"略大小寫。"
"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strncmp` 相同,只是它"
"忽略大小寫。"

#: ../../c-api/conversion.rst:173
#: ../../c-api/conversion.rst:172
msgid ""
"Case insensitive comparison of strings. The function works almost "
"identically to :c:func:`!strncmp` except that it ignores the case."
"Return ``0`` if the strings are equal, a negative value if *str1* sorts "
"lexicographically before *str2*, or a positive value if it sorts after."
msgstr ""

#: ../../c-api/conversion.rst:175
msgid ""
"In the *str1* or *str2* arguments, a NUL byte marks the end of the string. "
"For :c:func:`!PyOS_mystrnicmp`, the *size* argument gives the maximum size "
"of the string, as if NUL was present at the index given by *size*."
msgstr ""
"不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strncmp` 相同,只是它"
"忽略大小寫。"

#: ../../c-api/conversion.rst:178
#: ../../c-api/conversion.rst:179
msgid "These functions do not use the locale."
msgstr ""

#: ../../c-api/conversion.rst:185
msgid "Case insensitive comparison of strings."
msgstr ""

#: ../../c-api/conversion.rst:187
msgid ""
"On Windows, these are aliases of :c:func:`!stricmp` and :c:func:`!strnicmp`, "
"respectively."
msgstr ""

#: ../../c-api/conversion.rst:190
msgid ""
"On other platforms, they are aliases of :c:func:`PyOS_mystricmp` and :c:func:"
"`PyOS_mystrnicmp`, respectively."
msgstr ""

#: ../../c-api/conversion.rst:195
msgid "Character classification and conversion"
msgstr ""

#: ../../c-api/conversion.rst:180
#: ../../c-api/conversion.rst:197
msgid ""
"The following macros provide locale-independent (unlike the C standard "
"library ``ctype.h``) character classification and conversion. The argument "
"must be a signed or unsigned :c:expr:`char`."
msgstr ""

#: ../../c-api/conversion.rst:187
#: ../../c-api/conversion.rst:204
msgid "Return true if the character *c* is an alphanumeric character."
msgstr ""

#: ../../c-api/conversion.rst:192
#: ../../c-api/conversion.rst:209
msgid ""
"Return true if the character *c* is an alphabetic character (``a-z`` and ``A-"
"Z``)."
msgstr ""

#: ../../c-api/conversion.rst:197
#: ../../c-api/conversion.rst:214
msgid "Return true if the character *c* is a decimal digit (``0-9``)."
msgstr ""

#: ../../c-api/conversion.rst:202
#: ../../c-api/conversion.rst:219
msgid "Return true if the character *c* is a lowercase ASCII letter (``a-z``)."
msgstr ""

#: ../../c-api/conversion.rst:207
#: ../../c-api/conversion.rst:224
msgid ""
"Return true if the character *c* is an uppercase ASCII letter (``A-Z``)."
msgstr ""

#: ../../c-api/conversion.rst:212
#: ../../c-api/conversion.rst:229
msgid ""
"Return true if the character *c* is a whitespace character (space, tab, "
"carriage return, newline, vertical tab, or form feed)."
msgstr ""

#: ../../c-api/conversion.rst:218
#: ../../c-api/conversion.rst:235
msgid ""
"Return true if the character *c* is a hexadecimal digit (``0-9``, ``a-f``, "
"and ``A-F``)."
msgstr ""

#: ../../c-api/conversion.rst:224
#: ../../c-api/conversion.rst:241
msgid "Return the lowercase equivalent of the character *c*."
msgstr ""

#: ../../c-api/conversion.rst:229
#: ../../c-api/conversion.rst:246
msgid "Return the uppercase equivalent of the character *c*."
msgstr ""

#~ msgid ""
#~ "Case insensitive comparison of strings. The function works almost "
#~ "identically to :c:func:`!strcmp` except that it ignores the case."
#~ msgstr ""
#~ "不區分大小寫的字串比較。函式的作用方式幾乎與 :c:func:`!strcmp` 相同,只是"
#~ "它忽略大小寫。"
4 changes: 2 additions & 2 deletions c-api/datetime.po
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ msgid ""
"is the same object as :class:`datetime.time` in the Python layer."
msgstr ""
"此 :c:type:`PyTypeObject` 實例代表 Python time 型別,與 Python layer 中的 :"
"class:`datetime.datetime.time` 是同一物件"
"class:`datetime.time` 是同一物件"

#: ../../c-api/datetime.rst:80
msgid ""
Expand Down Expand Up @@ -282,7 +282,7 @@ msgstr ""
msgid ""
"Return a :class:`datetime.time` object with the specified hour, minute, "
"second and microsecond."
msgstr "回傳一個有特定時、分、秒、微秒的物件 :class:`datetime.date`。"
msgstr "回傳一個有特定時、分、秒、微秒的物件 :class:`datetime.time`。"

#: ../../c-api/datetime.rst:196
msgid ""
Expand Down
58 changes: 49 additions & 9 deletions c-api/descriptor.po
Original file line number Diff line number Diff 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-11-10 00:16+0000\n"
"POT-Creation-Date: 2025-12-02 00:15+0000\n"
"PO-Revision-Date: 2021-12-09 20:56+0800\n"
"Last-Translator: Matt Wang <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -37,57 +37,97 @@ msgstr ""
msgid "The type object for the built-in descriptor types."
msgstr "內建 descriptor 型別的型別物件。"

#: ../../c-api/descriptor.rst:26
msgid ""
"The type object for member descriptor objects created from :c:type:"
"`PyMemberDef` structures. These descriptors expose fields of a C struct as "
"attributes on a type, and correspond to :class:`types.MemberDescriptorType` "
"objects in Python."
msgstr ""

#: ../../c-api/descriptor.rst:35
msgid ""
"The type object for get/set descriptor objects created from :c:type:"
"`PyGetSetDef` structures. These descriptors implement attributes whose value "
"is computed by C getter and setter functions, and are used for many built-in "
"type attributes."
msgstr ""

#: ../../c-api/descriptor.rst:46
msgid ""
"The type object for method descriptor objects created from :c:type:"
"`PyMethodDef` structures. These descriptors expose C functions as methods on "
"a type, and correspond to :class:`types.MemberDescriptorType` objects in "
"Python."
msgstr ""

#: ../../c-api/descriptor.rst:57
msgid ""
"The type object for wrapper descriptor objects created by :c:func:"
"`PyDescr_NewWrapper` and :c:func:`PyWrapper_New`. Wrapper descriptors are "
"used internally to expose special methods implemented via wrapper "
"structures, and appear in Python as :class:`types.WrapperDescriptorType` "
"objects."
msgstr ""

#: ../../c-api/descriptor.rst:69
msgid ""
"Return non-zero if the descriptor object *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 物件;沒有錯誤檢查。"

#: ../../c-api/descriptor.rst:44
#: ../../c-api/descriptor.rst:78
msgid "Built-in descriptors"
msgstr "內建描述器"

#: ../../c-api/descriptor.rst:48
#: ../../c-api/descriptor.rst:82
msgid ""
"The type object for super objects. This is the same object as :class:`super` "
"in the Python layer."
msgstr ""

#: ../../c-api/descriptor.rst:54
#: ../../c-api/descriptor.rst:88
msgid ""
"The type of class method objects. This is the same object as :class:"
"`classmethod` in the Python layer."
msgstr ""

#: ../../c-api/descriptor.rst:60
#: ../../c-api/descriptor.rst:94
msgid ""
"The type object for C-level class method descriptor objects. This is the "
"type of the descriptors created for :func:`classmethod` defined in C "
"extension types, and is the same object as :class:`classmethod` in Python."
msgstr ""

#: ../../c-api/descriptor.rst:102
msgid ""
"Create a new :class:`classmethod` object wrapping *callable*. *callable* "
"must be a callable object and must not be ``NULL``."
msgstr ""

#: ../../c-api/descriptor.rst:63
#: ../../c-api/descriptor.rst:105
msgid ""
"On success, this function returns a :term:`strong reference` to a new class "
"method descriptor. On failure, this function returns ``NULL`` with an "
"exception set."
msgstr ""

#: ../../c-api/descriptor.rst:70
#: ../../c-api/descriptor.rst:112
msgid ""
"The type of static method objects. This is the same object as :class:"
"`staticmethod` in the Python layer."
msgstr ""

#: ../../c-api/descriptor.rst:76
#: ../../c-api/descriptor.rst:118
msgid ""
"Create a new :class:`staticmethod` object wrapping *callable*. *callable* "
"must be a callable object and must not be ``NULL``."
msgstr ""

#: ../../c-api/descriptor.rst:79
#: ../../c-api/descriptor.rst:121
msgid ""
"On success, this function returns a :term:`strong reference` to a new static "
"method descriptor. On failure, this function returns ``NULL`` with an "
Expand Down
Loading
Loading