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#1080

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

Merged
mattwang44 merged 6 commits into3.13fromcron/sync/3.13
Jul 6, 2025
Merged
Show file tree
Hide file tree
Changes fromall 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
36 changes: 25 additions & 11 deletionsc-api/capsule.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-09-01 22:24+0800\n"
"POT-Creation-Date:2025-06-29 00:17+0000\n"
"PO-Revision-Date: 2018-05-23 14:30+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -150,15 +150,29 @@ msgstr ""

#: ../../c-api/capsule.rst:108
msgid ""
"This function splits *name* on the ``.`` character, and imports the first "
"element. It then processes further elements using attribute lookups."
msgstr ""

#: ../../c-api/capsule.rst:111
msgid ""
"Return the capsule's internal *pointer* on success. On failure, set an "
"exception and return ``NULL``."
msgstr ""

#: ../../c-api/capsule.rst:111
#: ../../c-api/capsule.rst:116
msgid ""
"If *name* points to an attribute of some submodule or subpackage, this "
"submodule or subpackage must be previously imported using other means (for "
"example, by using :c:func:`PyImport_ImportModule`) for the attribute lookups "
"to succeed."
msgstr ""

#: ../../c-api/capsule.rst:121
msgid "*no_block* has no effect anymore."
msgstr ""

#: ../../c-api/capsule.rst:117
#: ../../c-api/capsule.rst:127
msgid ""
"Determines whether or not *capsule* is a valid capsule. A valid capsule is "
"non-``NULL``, passes :c:func:`PyCapsule_CheckExact`, has a non-``NULL`` "
Expand All@@ -167,41 +181,41 @@ msgid ""
"compared.)"
msgstr ""

#: ../../c-api/capsule.rst:123
#: ../../c-api/capsule.rst:133
msgid ""
"In other words, if :c:func:`PyCapsule_IsValid` returns a true value, calls "
"to any of the accessors (any function starting with ``PyCapsule_Get``) are "
"guaranteed to succeed."
msgstr ""

#: ../../c-api/capsule.rst:127
#: ../../c-api/capsule.rst:137
msgid ""
"Return a nonzero value if the object is valid and matches the name passed "
"in. Return ``0`` otherwise. This function will not fail."
msgstr ""

#: ../../c-api/capsule.rst:133
#: ../../c-api/capsule.rst:143
msgid "Set the context pointer inside *capsule* to *context*."
msgstr ""

#: ../../c-api/capsule.rst:135 ../../c-api/capsule.rst:142
#: ../../c-api/capsule.rst:151 ../../c-api/capsule.rst:159
#: ../../c-api/capsule.rst:145 ../../c-api/capsule.rst:152
#: ../../c-api/capsule.rst:161 ../../c-api/capsule.rst:169
msgid ""
"Return ``0`` on success. Return nonzero and set an exception on failure."
msgstr ""

#: ../../c-api/capsule.rst:140
#: ../../c-api/capsule.rst:150
msgid "Set the destructor inside *capsule* to *destructor*."
msgstr ""

#: ../../c-api/capsule.rst:147
#: ../../c-api/capsule.rst:157
msgid ""
"Set the name inside *capsule* to *name*. If non-``NULL``, the name must "
"outlive the capsule. If the previous *name* stored in the capsule was not "
"``NULL``, no attempt is made to free it."
msgstr ""

#: ../../c-api/capsule.rst:156
#: ../../c-api/capsule.rst:166
msgid ""
"Set the void pointer inside *capsule* to *pointer*. The pointer may not be "
"``NULL``."
Expand Down
74 changes: 35 additions & 39 deletionsdeprecations/c-api-pending-removal-in-3.15.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date:2024-10-22 00:13+0000\n"
"POT-Creation-Date:2025-07-03 00:17+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand All@@ -20,77 +20,73 @@ msgid "Pending Removal in Python 3.15"
msgstr "Python 3.15 中待移除的項目"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:4
msgid "The bundled copy of ``libmpdecimal``."
msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:5
msgid ""
"The :c:func:`PyImport_ImportModuleNoBlock`: "
"Use :c:func:`PyImport_ImportModule` instead."
"The :c:func:`PyImport_ImportModuleNoBlock`:Use :c:func:"
"`PyImport_ImportModule` instead."
msgstr ""
":c:func:`PyImport_ImportModuleNoBlock`:請改"
"用 :c:func:`PyImport_ImportModule`。"
":c:func:`PyImport_ImportModuleNoBlock`:請改用 :c:func:"
"`PyImport_ImportModule`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:7
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:6
msgid ""
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: "
"Use :c:func:`PyWeakref_GetRef` instead."
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`:Use :c:"
"func:`PyWeakref_GetRef` instead."
msgstr ""
":c:func:`PyWeakref_GetObject` 和 :c:func:`PyWeakref_GET_OBJECT`:請改"
"用 :c:func:`PyWeakref_GetRef`。"
":c:func:`PyWeakref_GetObject` 和 :c:func:`PyWeakref_GET_OBJECT`:請改用 :c:"
"func:`PyWeakref_GetRef`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:9
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:8
msgid ""
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: "
"Use :c:type:`wchar_t` instead."
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro:Use :c:"
"type:`wchar_t` instead."
msgstr ""
":c:type:`Py_UNICODE` 型別與 :c:macro:`!Py_UNICODE_WIDE` 巨集:請改"
"用 :c:type:`wchar_t`。"
":c:type:`Py_UNICODE` 型別與 :c:macro:`!Py_UNICODE_WIDE` 巨集:請改用 :c:type:"
"`wchar_t`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:11
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:10
msgid "Python initialization functions:"
msgstr "Python 初始化函式:"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:13
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:12
msgid ""
":c:func:`PySys_ResetWarnOptions`: Clear :data:`sys.warnoptions` and :data:`!"
"warnings.filters` instead."
msgstr ""
":c:func:`PySys_ResetWarnOptions`:請改為清除 :data:`sys.warnoptions` "
"和 :data:`!warnings.filters`。"
":c:func:`PySys_ResetWarnOptions`:請改為清除 :data:`sys.warnoptions`和 :"
"data:`!warnings.filters`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:15
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:14
msgid ""
":c:func:`Py_GetExecPrefix`: Get :data:`sys.base_exec_prefix` "
"and :data:`sys.exec_prefix` instead."
":c:func:`Py_GetExecPrefix`: Get :data:`sys.base_exec_prefix`and :data:`sys."
"exec_prefix` instead."
msgstr ""
":c:func:`Py_GetExecPrefix`:請改用 :data:`sys.base_exec_prefix` "
"與 :data:`sys.exec_prefix`。"
":c:func:`Py_GetExecPrefix`:請改用 :data:`sys.base_exec_prefix`與 :data:"
"`sys.exec_prefix`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:17
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:16
msgid ":c:func:`Py_GetPath`: Get :data:`sys.path` instead."
msgstr ":c:func:`Py_GetPath`:請改用 :data:`sys.path`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:19
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
msgid ""
":c:func:`Py_GetPrefix`: Get :data:`sys.base_prefix` and :data:`sys.prefix` "
"instead."
msgstr ""
":c:func:`Py_GetPrefix`:請改用 :data:`sys.base_prefix` "
"與 :data:`sys.prefix`。"
":c:func:`Py_GetPrefix`:請改用 :data:`sys.base_prefix`與 :data:`sys."
"prefix`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:21
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:20
msgid ":c:func:`Py_GetProgramFullPath`: Get :data:`sys.executable` instead."
msgstr ":c:func:`Py_GetProgramFullPath`:請改用 :data:`sys.executable`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:23
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:22
msgid ":c:func:`Py_GetProgramName`: Get :data:`sys.executable` instead."
msgstr ":c:func:`Py_GetProgramName`:請改用 :data:`sys.executable`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:25
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:24
msgid ""
":c:func:`Py_GetPythonHome`: Get :c:member:`PyConfig.home` or "
"the :envvar:`PYTHONHOME` environment variable instead."
":c:func:`Py_GetPythonHome`: Get :c:member:`PyConfig.home` orthe :envvar:"
"`PYTHONHOME` environment variable instead."
msgstr ""
":c:func:`Py_GetPythonHome`:請改用 :c:member:`PyConfig.home` "
"或 :envvar:`PYTHONHOME` 環境變數。"
":c:func:`Py_GetPythonHome`:請改用 :c:member:`PyConfig.home`或 :envvar:"
"`PYTHONHOME` 環境變數。"
24 changes: 24 additions & 0 deletionsdeprecations/c-api-pending-removal-in-3.16.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
# Copyright (C) 2001-2025, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-07-03 00:17+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../../deprecations/c-api-pending-removal-in-3.16.rst:2
msgid "Pending removal in Python 3.16"
msgstr "Python 3.16 中待移除的項目"

#: ../../deprecations/c-api-pending-removal-in-3.16.rst:4
msgid "The bundled copy of ``libmpdec``."
msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"
38 changes: 18 additions & 20 deletionsdeprecations/index.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-06-27 07:36+0000\n"
"POT-Creation-Date: 2025-07-03 00:17+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
Expand DownExpand Up@@ -437,11 +437,10 @@ msgid ""
"since Python 3.13. Use ``class TD(TypedDict): pass`` or ``TD = "
"TypedDict(\"TD\", {})`` to create a TypedDict with zero field."
msgstr ""
"當使用 :class:`~typing.TypedDict` 的函式語法時,未傳遞值給 *fields* "
"參數 (``TD = TypedDict(\"TD\")``) 或傳遞 ``None`` (``TD = "
"TypedDict(\"TD\", None)``) 的做法自 Python 3.13 起已被棄用。請"
"使用 ``class TD(TypedDict): pass`` 或 ``TD = "
"TypedDict(\"TD\", {})`` 來建立具有零個欄位的 TypedDict。"
"當使用 :class:`~typing.TypedDict` 的函式語法時,未傳遞值給 *fields* 參數 "
"(``TD = TypedDict(\"TD\")``) 或傳遞 ``None`` (``TD = TypedDict(\"TD\", "
"None)``) 的做法自 Python 3.13 起已被棄用。請使用 ``class TD(TypedDict): "
"pass`` 或 ``TD = TypedDict(\"TD\", {})`` 來建立具有零個欄位的 TypedDict。"

#: ../../deprecations/pending-removal-in-3.15.rst:95
msgid ""
Expand DownExpand Up@@ -1165,74 +1164,70 @@ msgstr ""
"func:`Py_PreInitialize`)"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:4
msgid "The bundled copy of ``libmpdecimal``."
msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:5
msgid ""
"The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:"
"`PyImport_ImportModule` instead."
msgstr ""
":c:func:`PyImport_ImportModuleNoBlock`:請改用 :c:func:"
"`PyImport_ImportModule`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:7
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:6
msgid ""
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: Use :c:"
"func:`PyWeakref_GetRef` instead."
msgstr ""
":c:func:`PyWeakref_GetObject` 和 :c:func:`PyWeakref_GET_OBJECT`:請改用 :c:"
"func:`PyWeakref_GetRef`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:9
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:8
msgid ""
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: Use :c:"
"type:`wchar_t` instead."
msgstr ""
":c:type:`Py_UNICODE` 型別與 :c:macro:`!Py_UNICODE_WIDE` 巨集:請改用 :c:type:"
"`wchar_t`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:11
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:10
msgid "Python initialization functions:"
msgstr "Python 初始化函式:"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:13
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:12
msgid ""
":c:func:`PySys_ResetWarnOptions`: Clear :data:`sys.warnoptions` and :data:`!"
"warnings.filters` instead."
msgstr ""
":c:func:`PySys_ResetWarnOptions`:請改為清除 :data:`sys.warnoptions` 和 :"
"data:`!warnings.filters`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:15
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:14
msgid ""
":c:func:`Py_GetExecPrefix`: Get :data:`sys.base_exec_prefix` and :data:`sys."
"exec_prefix` instead."
msgstr ""
":c:func:`Py_GetExecPrefix`:請改用 :data:`sys.base_exec_prefix` 與 :data:"
"`sys.exec_prefix`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:17
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:16
msgid ":c:func:`Py_GetPath`: Get :data:`sys.path` instead."
msgstr ":c:func:`Py_GetPath`:請改用 :data:`sys.path`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:19
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
msgid ""
":c:func:`Py_GetPrefix`: Get :data:`sys.base_prefix` and :data:`sys.prefix` "
"instead."
msgstr ""
":c:func:`Py_GetPrefix`:請改用 :data:`sys.base_prefix` 與 :data:`sys."
"prefix`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:21
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:20
msgid ":c:func:`Py_GetProgramFullPath`: Get :data:`sys.executable` instead."
msgstr ":c:func:`Py_GetProgramFullPath`:請改用 :data:`sys.executable`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:23
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:22
msgid ":c:func:`Py_GetProgramName`: Get :data:`sys.executable` instead."
msgstr ":c:func:`Py_GetProgramName`:請改用 :data:`sys.executable`。"

#: ../../deprecations/c-api-pending-removal-in-3.15.rst:25
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:24
msgid ""
":c:func:`Py_GetPythonHome`: Get :c:member:`PyConfig.home` or the :envvar:"
"`PYTHONHOME` environment variable instead."
Expand DownExpand Up@@ -1371,5 +1366,8 @@ msgstr ""
msgid ":c:func:`PyThread_ReInitTLS`: Unneeded since Python 3.7."
msgstr ":c:func:`PyThread_ReInitTLS`:自 Python 3.7 起不再需要。"

#~ msgid "The bundled copy of ``libmpdecimal``."
#~ msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"

#~ msgid ":mod:`array`'s ``'u'`` format code (:gh:`57281`)"
#~ msgstr ":mod:`array` 的 ``'u'`` 格式碼 (:gh:`57281`)"
4 changes: 2 additions & 2 deletionshowto/functional.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-06-27 07:36+0000\n"
"POT-Creation-Date: 2025-07-04 00:16+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 DownExpand Up@@ -1970,7 +1970,7 @@ msgstr ""

#: ../../howto/functional.rst:1220
msgid ""
"https://www.defmacro.org/ramblings/fp.html: A general introduction to "
"https://defmacro.org/2006/06/19/fp.html: A general introduction to "
"functional programming that uses Java examples and has a lengthy historical "
"introduction."
msgstr ""
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp