Skip to content

Commit 014a3f1

Browse files
committed
chore: pull 3.12-3.13 diff into the project (python#962)
1 parent d5a337b commit 014a3f1

File tree

250 files changed

+42724
-28253
lines changed

Some content is hidden

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

250 files changed

+42724
-28253
lines changed

c-api/arg.po

+148-111
Large diffs are not rendered by default.

c-api/bool.po

+12-13
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version: Python 3.13\n"
1212
"Report-Msgid-Bugs-To: \n"
13-
"POT-Creation-Date: 2023-07-29 10:36+0000\n"
13+
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
1414
"PO-Revision-Date: 2021-12-09 20:47+0800\n"
1515
"Last-Translator: Matt Wang <[email protected]>\n"
1616
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -52,27 +52,26 @@ msgstr ""
5252

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

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

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

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

7776
#: ../../c-api/bool.rst:46
7877
msgid "Return :c:data:`Py_False` from a function."

c-api/bytes.po

+9-11
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-12-26 00:03+0000\n"
10+
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
1111
"PO-Revision-Date: 2018-05-23 14:04+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -316,16 +316,14 @@ msgstr ""
316316

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

331329
#: ../../c-api/bytes.rst:11

0 commit comments

Comments
 (0)