Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
14 changes: 7 additions & 7 deletions c-api/long.po
Original file line number Diff line number Diff 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: 2026-04-23 00:30+0000\n"
"POT-Creation-Date: 2026-06-06 15:51+0000\n"
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -92,16 +92,16 @@ msgid ""
"``NULL`` on failure."
msgstr ""

#: ../../c-api/long.rst:77
#: ../../c-api/long.rst:76
msgid ""
"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` "
"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure."
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long "
"long`, or ``NULL`` on failure."
msgstr ""

#: ../../c-api/long.rst:86
#: ../../c-api/long.rst:83
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long "
"long`, or ``NULL`` on failure."
"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` "
"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure."
msgstr ""

#: ../../c-api/long.rst:93
Expand Down
12 changes: 6 additions & 6 deletions c-api/memory.po
Original file line number Diff line number Diff 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: 2026-03-12 00:16+0000\n"
"POT-Creation-Date: 2026-06-11 00:43+0000\n"
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -105,8 +105,8 @@ msgid ""
"certain circumstances, the Python memory manager may or may not trigger "
"appropriate actions, like garbage collection, memory compaction or other "
"preventive procedures. Note that by using the C library allocator as shown "
"in the previous example, the allocated memory for the I/O buffer escapes "
"completely the Python memory manager."
"in the previous example, the allocated memory for the I/O buffer completely "
"escapes the Python memory manager."
msgstr ""

#: ../../c-api/memory.rst:88
Expand Down Expand Up @@ -222,9 +222,9 @@ msgstr ""
#: ../../c-api/memory.rst:164 ../../c-api/memory.rst:242
#: ../../c-api/memory.rst:375
msgid ""
"Allocates *nelem* elements each whose size in bytes is *elsize* and returns "
"a pointer of type :c:expr:`void*` to the allocated memory, or ``NULL`` if "
"the request fails. The memory is initialized to zeros."
"Allocates *nelem* elements each of size *elsize* bytes and returns a pointer "
"of type :c:expr:`void*` to the allocated memory, or ``NULL`` if the request "
"fails. The memory is initialized to zeros."
msgstr ""

#: ../../c-api/memory.rst:168
Expand Down
17 changes: 8 additions & 9 deletions c-api/typeobj.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: 2026-03-19 00:23+0000\n"
"POT-Creation-Date: 2026-06-09 00:37+0000\n"
"PO-Revision-Date: 2018-05-23 14:33+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -4286,8 +4286,8 @@ msgstr ""

#: ../../c-api/typeobj.rst:3047
msgid ""
"Check if the request can be met. If not, raise :exc:`BufferError`, set :c:"
"expr:`view->obj` to ``NULL`` and return ``-1``."
"Check if the request can be met. If not, raise :exc:`BufferError`, set "
"``view->obj`` to ``NULL`` and return ``-1``."
msgstr ""

#: ../../c-api/typeobj.rst:3050
Expand All @@ -4299,8 +4299,7 @@ msgid "Increment an internal counter for the number of exports."
msgstr ""

#: ../../c-api/typeobj.rst:3054
msgid ""
"Set :c:expr:`view->obj` to *exporter* and increment :c:expr:`view->obj`."
msgid "Set ``view->obj`` to *exporter* and increment ``view->obj``."
msgstr ""

#: ../../c-api/typeobj.rst:3056
Expand Down Expand Up @@ -4350,14 +4349,14 @@ msgstr ""

#: ../../c-api/typeobj.rst:3079
msgid ""
"Re-export: Each member of the tree acts as the exporting object and sets :c:"
"expr:`view->obj` to a new reference to itself."
"Re-export: Each member of the tree acts as the exporting object and sets "
"``view->obj`` to a new reference to itself."
msgstr ""

#: ../../c-api/typeobj.rst:3082
msgid ""
"Redirect: The buffer request is redirected to the root object of the tree. "
"Here, :c:expr:`view->obj` will be a new reference to the root object."
"Here, ``view->obj`` will be a new reference to the root object."
msgstr ""

#: ../../c-api/typeobj.rst:3086
Expand Down Expand Up @@ -4434,7 +4433,7 @@ msgstr ""

#: ../../c-api/typeobj.rst:3137
msgid ""
"This function MUST NOT decrement :c:expr:`view->obj`, since that is done "
"This function MUST NOT decrement ``view->obj``, since that is done "
"automatically in :c:func:`PyBuffer_Release` (this scheme is useful for "
"breaking reference cycles)."
msgstr ""
Expand Down
10 changes: 5 additions & 5 deletions c-api/weakref.po
Original file line number Diff line number Diff 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: 2025-11-13 00:15+0000\n"
"POT-Creation-Date: 2026-06-11 00:43+0000\n"
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
"Last-Translator: Leon H.\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -61,8 +61,8 @@ msgid ""
"a callable object that receives notification when *ob* is garbage collected; "
"it should accept a single parameter, which will be the weak reference object "
"itself. *callback* may also be ``None`` or ``NULL``. If *ob* is not a "
"weakly referenceable object, or if *callback* is not callable, ``None``, or "
"``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
"weakly referenceable object, this will raise :exc:`TypeError` and return "
"``NULL``."
msgstr ""

#: ../../c-api/weakref.rst:49 ../../c-api/weakref.rst:65
Expand All @@ -79,8 +79,8 @@ msgid ""
"can be a callable object that receives notification when *ob* is garbage "
"collected; it should accept a single parameter, which will be the weak "
"reference object itself. *callback* may also be ``None`` or ``NULL``. If "
"*ob* is not a weakly referenceable object, or if *callback* is not callable, "
"``None``, or ``NULL``, this will return ``NULL`` and raise :exc:`TypeError`."
"*ob* weakly referenceable object, this will raise :exc:`TypeError` and "
"return ``NULL``."
msgstr ""

#: ../../c-api/weakref.rst:71
Expand Down
5 changes: 3 additions & 2 deletions howto/functional.po
Original file line number Diff line number Diff 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: 2025-11-30 00:16+0000\n"
"POT-Creation-Date: 2026-06-08 00:43+0000\n"
"PO-Revision-Date: 2018-05-23 14:36+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -1635,14 +1635,15 @@ msgid ""
msgstr ""

#: ../../howto/functional.rst:1039
#, fuzzy
msgid ""
">>> import operator, functools\n"
">>> functools.reduce(operator.concat, ['A', 'BB', 'C'])\n"
"'ABBC'\n"
">>> functools.reduce(operator.concat, [])\n"
"Traceback (most recent call last):\n"
" ...\n"
"TypeError: reduce() of empty sequence with no initial value\n"
"TypeError: reduce() of empty iterable with no initial value\n"
">>> functools.reduce(operator.mul, [1, 2, 3], 1)\n"
"6\n"
">>> functools.reduce(operator.mul, [], 1)\n"
Expand Down
Loading
Loading