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.13#1043

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 merge25 commits into3.13
base:3.13
Choose a base branch
Loading
fromcron/sync/3.13
Draft
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
25 commits
Select commitHold shift + click to select a range
68e6b20
sync with cpython 927da992
github-actions[bot]May 11, 2025
58b2501
sync with cpython 50b45c4f
github-actions[bot]May 13, 2025
6c7f8d2
sync with cpython 78a04b33
github-actions[bot]May 14, 2025
32c33ca
sync with cpython f474264b
github-actions[bot]May 14, 2025
bdb7a53
sync with cpython bc1a6ecf
github-actions[bot]May 16, 2025
7942c0e
sync with cpython 510e28ec
github-actions[bot]May 17, 2025
0187da9
sync with cpython f6254327
github-actions[bot]May 18, 2025
3f0fb40
sync with cpython 821a87e7
github-actions[bot]May 19, 2025
9975605
sync with cpython edbde92a
github-actions[bot]May 20, 2025
c37dff0
sync with cpython 35eb3b82
github-actions[bot]May 21, 2025
580ff2b
sync with cpython 5ecc39e9
github-actions[bot]May 22, 2025
3025a93
sync with cpython b2126530
github-actions[bot]May 23, 2025
1938944
sync with cpython e4c4eccc
github-actions[bot]May 24, 2025
99350d0
sync with cpython 698bf972
github-actions[bot]May 25, 2025
f967fed
sync with cpython f331d03e
github-actions[bot]May 26, 2025
61be21b
sync with cpython 480f02da
github-actions[bot]May 27, 2025
5633d4b
sync with cpython 73e43289
github-actions[bot]May 28, 2025
89bc95a
sync with cpython 029eceaf
github-actions[bot]May 29, 2025
6369fe7
sync with cpython a9ba2eca
github-actions[bot]May 30, 2025
3944e3a
sync with cpython 19b31d10
github-actions[bot]May 31, 2025
b1bcfe6
sync with cpython e69ecfee
github-actions[bot]Jun 1, 2025
90a0a4e
sync with cpython 04466286
github-actions[bot]Jun 2, 2025
9c23378
sync with cpython f67dede2
github-actions[bot]Jun 3, 2025
9c32838
sync with cpython b9512c3b
github-actions[bot]Jun 4, 2025
3275c6f
sync with cpython 68f8eed6
github-actions[bot]Jun 5, 2025
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
9 changes: 6 additions & 3 deletionsc-api/allocation.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.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-03-18 00:14+0000\n"
"POT-Creation-Date: 2025-05-27 00:15+0000\n"
"PO-Revision-Date: 2022-10-16 15:35+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -112,9 +112,12 @@ msgstr ""
"取,該巨集的拿到指向該物件的指標。"

#: ../../c-api/allocation.rst:79
msgid ":c:func:`PyModule_Create`"
msgstr ":c:func:`PyModule_Create`"
msgid ":ref:`moduleobjects`"
msgstr ""

#: ../../c-api/allocation.rst:80
msgid "To allocate and create extension modules."
msgstr "分配記憶體和建立擴充模組。"

#~ msgid ":c:func:`PyModule_Create`"
#~ msgstr ":c:func:`PyModule_Create`"
4 changes: 2 additions & 2 deletionsc-api/code.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.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2024-10-09 00:13+0000\n"
"POT-Creation-Date:2025-05-26 00:17+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@@ -213,7 +213,7 @@ msgstr ""
#: ../../c-api/code.rst:184
msgid ""
"If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked after "
"`co` has been fully initialized. Otherwise, the callback is invoked before "
"*co* has been fully initialized. Otherwise, the callback is invoked before "
"the destruction of *co* takes place, so the prior state of *co* can be "
"inspected."
msgstr ""
Expand Down
71 changes: 34 additions & 37 deletionsc-api/function.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.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-02-17 00:15+0000\n"
"POT-Creation-Date: 2025-05-26 00:17+0000\n"
"PO-Revision-Date: 2022-11-12 15:45+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All@@ -37,17 +37,17 @@ msgstr "用於函式的 C 結構。"
#: ../../c-api/function.rst:22
msgid ""
"This is an instance of :c:type:`PyTypeObject` and represents the Python "
"function type. It is exposed to Python programmers as "
"``types.FunctionType``."
"function type. It is exposed to Python programmers as``types."
"FunctionType``."
msgstr ""
"這是個 :c:type:`PyTypeObject` 的實例,且代表了 Python 函式型別,Python 程式設"
"計者可透過 ``types.FunctionType`` 使用它。"

#: ../../c-api/function.rst:28
msgid ""
"Return true if *o* is a function object (has "
"type :c:data:`PyFunction_Type`). The parameter must not be ``NULL``. This "
"functionalways succeeds."
"Return true if *o* is a function object (hastype :c:data:"
"`PyFunction_Type`). The parameter must not be ``NULL``. This function "
"always succeeds."
msgstr ""
"如果 *o* 是個函式物件(擁有 :c:data:`PyFunction_Type` 的型別)則回傳 true。參"
"數必須不為 ``NULL``。此函式必能成功執行。"
Expand All@@ -63,30 +63,28 @@ msgstr ""

#: ../../c-api/function.rst:37
msgid ""
"The function's docstring and name are retrieved from the code "
"object. :attr:`~function.__module__` is retrieved from *globals*. The "
"argument defaults,annotations and closure are set to "
"``NULL``. :attr:`~function.__qualname__`is set to the same value as the "
"code object's :attr:`~codeobject.co_qualname` field."
"The function's docstring and name are retrieved from the codeobject. :attr:"
"`~function.__module__` is retrieved from *globals*. The argument defaults, "
"annotations and closure are set to ``NULL``. :attr:`~function.__qualname__` "
"is set to the same value as thecode object's :attr:`~codeobject."
"co_qualname` field."
msgstr ""
"函式的文件字串 (docstring) 和名稱是從程式碼物件所取"
"得,:attr:`~function.__module__` 是自 *globals* 所取得。引數預設值、標註 "
"(annotation) 和閉包 (closure) 被設為 "
"``NULL``,:attr:`~function.__qualname__` 被設為和程式碼物"
"函式的文件字串 (docstring) 和名稱是從程式碼物件所取得,:attr:`~function."
"__module__` 是自 *globals* 所取得。引數預設值、標註 (annotation) 和閉包 "
"(closure) 被設為 ``NULL``,:attr:`~function.__qualname__` 被設為和程式碼物"
"件 :attr:`~codeobject.co_qualname` 欄位相同的值。"

#: ../../c-api/function.rst:46
msgid ""
"As :c:func:`PyFunction_New`, but also allows setting the function "
"object's :attr:`~function.__qualname__` attribute. *qualname* should be a "
"unicode object or ``NULL``; if ``NULL``, the :attr:`!__qualname__` attribute "
"is set to the same value as the code "
"object's :attr:`~codeobject.co_qualname` field."
"As :c:func:`PyFunction_New`, but also allows setting the function object's :"
"attr:`~function.__qualname__` attribute. *qualname* should be a unicode "
"object or ``NULL``; if ``NULL``, the :attr:`!__qualname__` attribute is set "
"to the same value as the code object's :attr:`~codeobject.co_qualname` field."
msgstr ""
"和 :c:func:`PyFunction_New` 相似,但也允許函式物"
"件 :attr:`~function.__qualname__` 屬性的設定,*qualname* 應為一個 unicode"
"件或是 ``NULL``;如為 ``NULL``,:attr:`!__qualname__`屬性會被設為與程式碼物"
"件 :attr:`~codeobject.co_qualname` 欄位相同的值。"
"和 :c:func:`PyFunction_New` 相似,但也允許函式物件 :attr:`~function."
"__qualname__` 屬性的設定,*qualname* 應為一個 unicode物件或是 ``NULL``;如"
" ``NULL``,:attr:`!__qualname__`屬性會被設為與程式碼物件 :attr:"
"`~codeobject.co_qualname` 欄位相同的值。"

#: ../../c-api/function.rst:57
msgid "Return the code object associated with the function object *op*."
Expand All@@ -102,9 +100,8 @@ msgid ""
"attribute of the :ref:`function object <user-defined-funcs>` *op*. It can be "
"*NULL*."
msgstr ""
"回傳一個\\ :ref:`函式物件 <user-defined-funcs>` *op* "
"之 :attr:`~function.__module__` 屬性的 :term:`borrowed reference`,它可以是 "
"*NULL*。"
"回傳一個\\ :ref:`函式物件 <user-defined-funcs>` *op* 之 :attr:`~function."
"__module__` 屬性的 :term:`borrowed reference`,它可以是 *NULL*。"

#: ../../c-api/function.rst:71
msgid ""
Expand DownExpand Up@@ -183,10 +180,10 @@ msgstr ""

#: ../../c-api/function.rst:138
msgid ""
"Clear watcher identified by *watcher_id* previously returned "
"from :c:func:`PyFunction_AddWatcher` for the current interpreter. Return "
"``0`` onsuccess, or ``-1`` and set an exception on error (e.g. if the "
"given*watcher_id* was never registered.)"
"Clear watcher identified by *watcher_id* previously returnedfrom :c:func:"
"`PyFunction_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/function.rst:148
Expand DownExpand Up@@ -220,9 +217,9 @@ msgstr ""
#: ../../c-api/function.rst:163
msgid ""
"If *event* is ``PyFunction_EVENT_CREATE`` or ``PyFunction_EVENT_DESTROY`` "
"then *new_value* will be ``NULL``. Otherwise, *new_value* will hold "
"a :term:`borrowed reference` to the new value that is about to be stored in "
"*func*for the attribute that is being modified."
"then *new_value* will be ``NULL``. Otherwise, *new_value* will holda :term:"
"`borrowed reference` to the new value that is about to be stored in *func* "
"for the attribute that is being modified."
msgstr ""

#: ../../c-api/function.rst:168
Expand All@@ -234,7 +231,7 @@ msgstr ""
#: ../../c-api/function.rst:171
msgid ""
"If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked "
"after`func` has been fully initialized. Otherwise, the callback is invoked "
"after*func* has been fully initialized. Otherwise, the callback is invoked "
"before the modification to *func* takes place, so the prior state of *func* "
"can be inspected. The runtime is permitted to optimize away the creation of "
"function objects when possible. In such cases no event will be emitted. "
Expand All@@ -254,8 +251,8 @@ msgstr ""
#: ../../c-api/function.rst:185
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/function.rst:189
Expand Down
9 changes: 5 additions & 4 deletionsc-api/gcsupport.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.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-13 00:40+0000\n"
"POT-Creation-Date: 2025-05-19 00:16+0000\n"
"PO-Revision-Date: 2018-05-23 14:31+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -255,9 +255,10 @@ msgstr ""

#: ../../c-api/gcsupport.rst:185
msgid ""
"If *o* is not ``NULL``, call the *visit* callback, with arguments *o* and "
"*arg*. If *visit* returns a non-zero value, then return it. Using this "
"macro, :c:member:`~PyTypeObject.tp_traverse` handlers look like::"
"If the :c:expr:`PyObject *` *o* is not ``NULL``, call the *visit* callback, "
"with arguments *o* and *arg*. If *visit* returns a non-zero value, then "
"return it. Using this macro, :c:member:`~PyTypeObject.tp_traverse` handlers "
"look like::"
msgstr ""

#: ../../c-api/gcsupport.rst:190
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp