Skip to content

chore: pull 3.12-3.13 diff into the project #962

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 23, 2024
Merged
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
259 changes: 148 additions & 111 deletions c-api/arg.po

Large diffs are not rendered by default.

25 changes: 12 additions & 13 deletions c-api/bool.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-29 10:36+0000\n"
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
"PO-Revision-Date: 2021-12-09 20:47+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand Down Expand Up @@ -52,27 +52,26 @@ msgstr ""

#: ../../c-api/bool.rst:28
msgid ""
"The Python ``False`` object. This object has no methods and is `immortal "
"<https://peps.python.org/pep-0683/>`_."
"The Python ``False`` object. This object has no methods and is :term:"
"`immortal`."
msgstr ""
"Python 的 ``False`` 物件。此物件沒有任何方法且為\\ `不滅的 (immortal) "
"<https://peps.python.org/pep-0683/>`_。"
"Python 的 ``False`` 物件。此物件沒有任何方法且為\\ :term:`不滅的 (immortal) "
"<immortal>`。"

#: ../../c-api/bool.rst:31
msgid ":c:data:`Py_False` is immortal."
msgstr ":c:data:`Py_False` 為不滅的。"
msgid ":c:data:`Py_False` is :term:`immortal`."
msgstr ":c:data:`Py_False` 為\\ :term:`不滅的 <immortal>`。"

#: ../../c-api/bool.rst:37
msgid ""
"The Python ``True`` object. This object has no methods and is `immortal "
"<https://peps.python.org/pep-0683/>`_."
"The Python ``True`` object. This object has no methods and is :term:"
"`immortal`."
msgstr ""
"Python 的 ``True`` 物件。此物件沒有任何方法且為\\ `不滅的 (immortal) "
"<https://peps.python.org/pep-0683/>`_。"
"Python 的 ``True`` 物件。此物件沒有任何方法且為\\ :term:`不滅的 <immortal>`。"

#: ../../c-api/bool.rst:40
msgid ":c:data:`Py_True` is immortal."
msgstr ":c:data:`Py_True` 為不滅的。"
msgid ":c:data:`Py_True` is :term:`immortal`."
msgstr ":c:data:`Py_True` 為\\ :term:`不滅的 <immortal>`。"

#: ../../c-api/bool.rst:46
msgid "Return :c:data:`Py_False` from a function."
Expand Down
20 changes: 9 additions & 11 deletions c-api/bytes.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-26 00:03+0000\n"
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
"PO-Revision-Date: 2018-05-23 14:04+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 @@ -316,16 +316,14 @@ msgstr ""

#: ../../c-api/bytes.rst:194
msgid ""
"A way to resize a bytes object even though it is \"immutable\". Only use "
"this to build up a brand new bytes object; don't use this if the bytes may "
"already be known in other parts of the code. It is an error to call this "
"function if the refcount on the input bytes object is not one. Pass the "
"address of an existing bytes object as an lvalue (it may be written into), "
"and the new size desired. On success, *\\*bytes* holds the resized bytes "
"object and ``0`` is returned; the address in *\\*bytes* may differ from its "
"input value. If the reallocation fails, the original bytes object at "
"*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError` "
"is set, and ``-1`` is returned."
"Resize a bytes object. *newsize* will be the new length of the bytes object. "
"You can think of it as creating a new bytes object and destroying the old "
"one, only more efficiently. Pass the address of an existing bytes object as "
"an lvalue (it may be written into), and the new size desired. On success, "
"*\\*bytes* holds the resized bytes object and ``0`` is returned; the address "
"in *\\*bytes* may differ from its input value. If the reallocation fails, "
"the original bytes object at *\\*bytes* is deallocated, *\\*bytes* is set to "
"``NULL``, :exc:`MemoryError` is set, and ``-1`` is returned."
msgstr ""

#: ../../c-api/bytes.rst:11
Expand Down
Loading