8000 sync with cpython c99354cf · python/python-docs-zh-tw@abc0cea · GitHub
[go: up one dir, main page]

Skip to content

Commit abc0cea

Browse files
sync with cpython c99354cf
1 parent 65b48de commit abc0cea

File tree

6 files changed

+226
-203
lines changed

6 files changed

+226
-203
lines changed

deprecations/c-api-pending-removal-in-3.15.po

Lines changed: 38 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.13\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2024-10-22 00:13+0000\n"
8+
"POT-Creation-Date: 2025-07-03 00:17+0000\n"
99
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -20,77 +20,76 @@ msgid "Pending Removal in Python 3.15"
2020
msgstr "Python 3.15 中待移除的項目"
2121

2222
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:4
23-
msgid "The bundled copy of ``libmpdecimal``."
24-
msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"
25-
26-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:5
2723
msgid ""
28-
"The :c:func:`PyImport_ImportModuleNoBlock`: "
29-
"Use :c:func:`PyImport_ImportModule` instead."
24+
"The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:"
25+
"`PyImport_ImportModule` instead."
3026
msgstr ""
31-
":c:func:`PyImport_ImportModuleNoBlock`:請改"
32-
"用 :c:func:`PyImport_ImportModule`。"
27+
":c:func:`PyImport_ImportModuleNoBlock`:請改用 :c:func:"
28+
"`PyImport_ImportModule`。"
3329

34-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:7
30+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:6
3531
msgid ""
36-
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: "
37-
"Use :c:func:`PyWeakref_GetRef` instead."
32+
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: Use :c:"
33+
"func:`PyWeakref_GetRef` instead."
3834
msgstr ""
39-
":c:func:`PyWeakref_GetObject` 和 :c:func:`PyWeakref_GET_OBJECT`:請改"
40-
"用 :c:func:`PyWeakref_GetRef`。"
35+
":c:func:`PyWeakref_GetObject` 和 :c:func:`PyWeakref_GET_OBJECT`:請改用 :c:"
36+
"func:`PyWeakref_GetRef`。"
4137

42-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:9
38+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:8
4339
msgid ""
44-
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: "
45-
"Use :c:type:`wchar_t` instead."
40+
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: Use :c:"
41+
"type:`wchar_t` instead."
4642
msgstr ""
47-
":c:type:`Py_UNICODE` 型別與 :c:macro:`!Py_UNICODE_WIDE` 巨集:請改"
48-
"用 :c:type:`wchar_t`。"
43+
":c:type:`Py_UNICODE` 型別與 :c:macro:`!Py_UNICODE_WIDE` 巨集:請改用 :c:type:"
44+
"`wchar_t`。"
4945

50-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:11
46+
#: ../../deprecations/c-api-pendi 629A ng-removal-in-3.15.rst:10
5147
msgid "Python initialization functions:"
5248
msgstr "Python 初始化函式:"
5349

54-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:13
50+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:12
5551
msgid ""
5652
":c:func:`PySys_ResetWarnOptions`: Clear :data:`sys.warnoptions` and :data:`!"
5753
"warnings.filters` instead."
5854
msgstr ""
59-
":c:func:`PySys_ResetWarnOptions`:請改為清除 :data:`sys.warnoptions` "
60-
"和 :data:`!warnings.filters`。"
55+
":c:func:`PySys_ResetWarnOptions`:請改為清除 :data:`sys.warnoptions` 和 :"
56+
"data:`!warnings.filters`。"
6157

62-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:15
58+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:14
6359
msgid ""
64-
":c:func:`Py_GetExecPrefix`: Get :data:`sys.base_exec_prefix` "
65-
"and :data:`sys.exec_prefix` instead."
60+
":c:func:`Py_GetExecPrefix`: Get :data:`sys.base_exec_prefix` and :data:`sys."
61+
"exec_prefix` instead."
6662
msgstr ""
67-
":c:func:`Py_GetExecPrefix`:請改用 :data:`sys.base_exec_prefix` "
68-
"與 :data:`sys.exec_prefix`。"
63+
":c:func:`Py_GetExecPrefix`:請改用 :data:`sys.base_exec_prefix` 與 :data:"
64+
"`sys.exec_prefix`。"
6965

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

74-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:19
70+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
7571
msgid ""
7672
":c:func:`Py_GetPrefix`: Get :data:`sys.base_prefix` and :data:`sys.prefix` "
7773
"instead."
7874
msgstr ""
79-
":c:func:`Py_GetPrefix`:請改用 :data:`sys.base_prefix` "
80-
"與 :data:`sys.prefix`。"
75+
":c:func:`Py_GetPrefix`:請改用 :data:`sys.base_prefix` 與 :data:`sys."
76+
"prefix`。"
8177

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

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

90-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:25
86+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:24
9187
msgid ""
92-
":c:func:`Py_GetPythonHome`: Get :c:member:`PyConfig.home` or "
93-
"the :envvar:`PYTHONHOME` environment variable instead."
88+
":c:func:`Py_GetPythonHome`: Get :c:member:`PyConfig.home` or the :envvar:"
89+
"`PYTHONHOME` environment variable instead."
9490
msgstr ""
95-
":c:func:`Py_GetPythonHome`:請改用 :c:member:`PyConfig.home` "
96-
"或 :envvar:`PYTHONHOME` 環境變數。"
91+
":c:func:`Py_GetPythonHome`:請改用 :c:member:`PyConfig.home` 或 :envvar:"
92+
"`PYTHONHOME` 環境變數。"
93+
94+
#~ msgid "The bundled copy of ``libmpdecimal``."
95+
#~ msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001-2025, Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: Python 3.13\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2025-07-03 00:17+0000\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language: zh_TW\n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
20+
#: ../../deprecations/c-api-pending-removal-in-3.16.rst:2
21+
msgid "Pending removal in Python 3.16"
22+
msgstr ""
23+
24+
#: ../../deprecations/c-api-pending-removal-in-3.16.rst:4
25+
msgid "The bundled copy of ``libmpdec``."
26+
msgstr ""

deprecations/index.po

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: Python 3.13\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2025-06-27 07:36+0000\n"
8+
"POT-Creation-Date: 2025-07-03 00:17+0000\n"
99
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1010
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1111
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -437,11 +437,10 @@ msgid ""
437437
"since Python 3.13. Use ``class TD(TypedDict): pass`` or ``TD = "
438438
"TypedDict(\"TD\", {})`` to create a TypedDict with zero field."
439439
msgstr ""
440-
"當使用 :class:`~typing.TypedDict` 的函式語法時,未傳遞值給 *fields* "
441-
"參數 (``TD = TypedDict(\"TD\")``) 或傳遞 ``None`` (``TD = "
442-
"TypedDict(\"TD\", None)``) 的做法自 Python 3.13 起已被棄用。請"
443-
"使用 ``class TD(TypedDict): pass`` 或 ``TD = "
444-
"TypedDict(\"TD\", {})`` 來建立具有零個欄位的 TypedDict。"
440+
"當使用 :class:`~typing.TypedDict` 的函式語法時,未傳遞值給 *fields* 參數 "
441+
"(``TD = TypedDict(\"TD\")``) 或傳遞 ``None`` (``TD = TypedDict(\"TD\", "
442+
"None)``) 的做法自 Python 3.13 起已被棄用。請使用 ``class TD(TypedDict): "
443+
"pass`` 或 ``TD = TypedDict(\"TD\", {})`` 來建立具有零個欄位的 TypedDict。"
445444

446445
#: ../../deprecations/pending-removal-in-3.15.rst:95
447446
msgid ""
@@ -1165,74 +1164,70 @@ msgstr ""
11651164
"func:`Py_PreInitialize`)"
11661165

11671166
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:4
1168-
msgid "The bundled copy of ``libmpdecimal``."
1169-
msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"
1170-
1171-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:5
11721167
msgid ""
11731168
"The :c:func:`PyImport_ImportModuleNoBlock`: Use :c:func:"
11741169
"`PyImport_ImportModule` instead."
11751170
msgstr ""
11761171
":c:func:`PyImport_ImportModuleNoBlock`:請改用 :c:func:"
11771172
"`PyImport_ImportModule`。"
11781173

1179-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:7
1174+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:6
11801175
msgid ""
11811176
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: Use :c:"
11821177
"func:`PyWeakref_GetRef` instead."
11831178
msgstr ""
11841179
":c:func:`PyWeakref_GetObject` 和 :c:func:`PyWeakref_GET_OBJECT`:請改用 :c:"
11851180
"func:`PyWeakref_GetRef`。"
11861181

1187-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:9
1182+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:8
11881183
msgid ""
11891184
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: Use :c:"
11901185
"type:`wchar_t` instead."
11911186
msgstr ""
11921187
":c:type:`Py_UNICODE` 型別與 :c:macro:`!Py_UNICODE_WIDE` 巨集:請改用 :c:type:"
11931188
"`wchar_t`。"
11941189

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

1199-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:13
1194+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:12
12001195
msgid ""
12011196
":c:func:`PySys_ResetWarnOptions`: Clear :data:`sys.warnoptions` and :data:`!"
12021197
"warnings.filters` instead."
12031198
msgstr ""
12041199
":c:func:`PySys_ResetWarnOptions`:請改為清除 :data:`sys.warnoptions` 和 :"
12051200
"data:`!warnings.filters`。"
12061201

1207-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:15
1202+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:14
12081203
msgid ""
12091204
":c:func:`Py_GetExecPrefix`: Get :data:`sys.base_exec_prefix` and :data:`sys."
12101205
"exec_prefix` instead."
12111206
msgstr ""
12121207
":c:func:`Py_GetExecPrefix`:請改用 :data:`sys.base_exec_prefix` 與 :data:"
12131208
"`sys.exec_prefix`。"
12141209

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

1219-
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:19
1214+
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
12201215
msgid ""
12211216
":c:func:`Py_GetPrefix`: Get :data:`sys.base_prefix` and :data:`sys.prefix` "
12221217
"instead."
12231218
msgstr ""
12241219
":c:func:`Py_GetPrefix`:請改用 :data:`sys.base_prefix` 與 :data:`sys."
12251220
"prefix`。"
12261221

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

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

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

1369+
#~ msgid "The bundled copy of ``libmpdecimal``."
1370+
#~ msgstr "``libmpdecimal`` 的打包副本 (bundled copy)。"
1371+
13741372
#~ msgid ":mod:`array`'s ``'u'`` format code (:gh:`57281`)"
13751373
#~ msgstr ":mod:`array` 的 ``'u'`` 格式碼 (:gh:`57281`)"

howto/isolating-extensions.po

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.13\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2025-06-27 07:36+0000\n"
11+
"POT-Creation-Date: 2025-07-03 00:17+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -952,28 +952,27 @@ msgstr ""
952952

953953
#: ../../howto/isolating-extensions.rst:629
954954
msgid ""
955-
"Discussions about improving the situation are best held on the `capi-sig "
956-
"mailing list <https://mail.python.org/mailman3/lists/capi-sig.python.org/"
957-
">`__."
955+
"Discussions about improving the situation are best held on the `discuss "
956+
"forum under c-api tag <https://discuss.python.org/c/core-dev/c-api/30>`__."
958957
msgstr ""
959958

960-
#: ../../howto/isolating-extensions.rst:634
959+
#: ../../howto/isolating-extensions.rst:633
961960
msgid "Per-Class Scope"
962961
msgstr ""
963962

964-
#: ../../howto/isolating-extensions.rst:636
963+
#: ../../howto/isolating-extensions.rst:635
965964
msgid ""
966965
"It is currently (as of Python 3.11) not possible to attach state to "
967966
"individual *types* without relying on CPython implementation details (which "
968967
"may change in the future—perhaps, ironically, to allow a proper solution for "
969968
"per-class scope)."
970969
msgstr ""
971970

972-
#: ../../howto/isolating-extensions.rst:643
971+
#: ../../howto/isolating-extensions.rst:642
973972
msgid "Lossless Conversion to Heap Types"
974973
msgstr ""
975974

976-
#: ../../howto/isolating-extensions.rst:645
975+
#: ../../howto/isolating-extensions.rst:644
977976
msgid ""
978977
"The heap type API was not designed for \"lossless\" conversion from static "
979978
"types; that is, creating a type that works exactly like a given static type."

0 commit comments

Comments
 (0)
0