5
5
msgstr ""
6
6
"Project-Id-Version : Python 3.13\n "
7
7
"Report-Msgid-Bugs-To : \n "
8
- "POT-Creation-Date : 2025-02-28 00:14 +0000\n "
8
+ "POT-Creation-Date : 2025-05-11 14:57 +0000\n "
9
9
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
10
10
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
11
11
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -25,22 +25,21 @@ msgstr "引入系統 (import system):"
25
25
26
26
#: ../../deprecations/pending-removal-in-3.15.rst:6
27
27
msgid ""
28
- "Setting :attr:`~module.__cached__` on a module while failing to "
29
- "set :attr: `__spec__.cached <importlib.machinery.ModuleSpec.cached>` is "
30
- "deprecated. In Python 3.15, :attr:`!__cached__` will cease to be set or take "
31
- "into consideration by the import system or standard library. (:gh:`97879`)"
28
+ "Setting :attr:`~module.__cached__` on a module while failing to set :attr: "
29
+ "`__spec__.cached <importlib.machinery.ModuleSpec.cached>` is deprecated. In "
30
+ "Python 3.15, :attr:`!__cached__` will cease to be set or take into "
31
+ "consideration by the import system or standard library. (:gh:`97879`)"
32
32
msgstr ""
33
33
"在模組上設定 :attr:`~module.__cached__` 而沒有設定 :attr:`__spec__.cached "
34
34
"<importlib.machinery.ModuleSpec.cached>` 的做法已被棄用。在 Python 3.15 中,"
35
35
"引入系統或標準函式庫將不再設定或考慮 :attr:`!__cached__`。(:gh:`97879`)"
36
36
37
37
#: ../../deprecations/pending-removal-in-3.15.rst:11
38
38
msgid ""
39
- "Setting :attr:`~module.__package__` on a module while failing to "
40
- "set :attr:`__spec__.parent <importlib.machinery.ModuleSpec.parent>` is "
41
- "deprecated. In Python 3.15, :attr:`!__package__` will cease to be set or "
42
- "take into consideration by the import system or standard library. "
43
- "(:gh:`97879`)"
39
+ "Setting :attr:`~module.__package__` on a module while failing to set :attr:"
40
+ "`__spec__.parent <importlib.machinery.ModuleSpec.parent>` is deprecated. In "
41
+ "Python 3.15, :attr:`!__package__` will cease to be set or take into "
42
+ "consideration by the import system or standard library. (:gh:`97879`)"
44
43
msgstr ""
45
44
"在模組上設定 :attr:`~module.__package__` 而沒有設定 :attr:`__spec__.parent "
46
45
"<importlib.machinery.ModuleSpec.parent>` 的做法已被棄用。在 Python 3.15 中,"
@@ -94,29 +93,27 @@ msgstr ":class:`locale`:"
94
93
#: ../../deprecations/pending-removal-in-3.15.rst:38
95
94
msgid ""
96
95
"The :func:`~locale.getdefaultlocale` function has been deprecated since "
97
- "Python 3.11. Its removal was originally planned for Python 3.13 "
98
- "(:gh:`90817`), but has been postponed to Python 3.15. "
99
- "Use :func:`~locale.getlocale`, :func:`~locale.setlocale`, "
100
- "and :func:`~locale.getencoding` instead. (Contributed by Hugo van Kemenade "
101
- "in :gh:`111187`.)"
96
+ "Python 3.11. Its removal was originally planned for Python 3.13 (:gh:"
97
+ "`90817`), but has been postponed to Python 3.15. Use :func:`~locale."
98
+ "getlocale`, :func:`~locale.setlocale`, and :func:`~locale.getencoding` "
99
+ "instead. (Contributed by Hugo van Kemenade in :gh:`111187`.)"
102
100
msgstr ""
103
101
":func:`~locale.getdefaultlocale` 已在 Python 3.11 中被棄用,原本計劃在 "
104
- "Python 3.13 中移除 (:gh:`90817`),但被延後至 Python 3.15。請改"
105
- "用 :func:`~locale.getlocale`、:func:`~locale.setlocale` "
106
- "和 :func:`~locale.getencoding`。 (由 Hugo van Kemenade 於 :gh:`111187` 貢"
107
- "獻。)"
102
+ "Python 3.13 中移除 (:gh:`90817`),但被延後至 Python 3.15。請改用 :func:"
103
+ "`~locale.getlocale`、:func:`~locale.setlocale` 和 :func:`~locale."
104
+ "getencoding`。 (由 Hugo van Kemenade 於 :gh:`111187` 貢獻。)"
108
105
109
106
#: ../../deprecations/pending-removal-in-3.15.rst:46
110
107
msgid ":mod:`pathlib`:"
111
108
msgstr ":mod:`pathlib`:"
112
109
113
110
#: ../../deprecations/pending-removal-in-3.15.rst:48
114
111
msgid ""
115
- ":meth:`.PurePath.is_reserved` has been deprecated since Python 3.13. "
116
- "Use : func:`os.path.isreserved` to detect reserved paths on Windows."
112
+ ":meth:`.PurePath.is_reserved` has been deprecated since Python 3.13. Use : "
113
+ "func:`os.path.isreserved` to detect reserved paths on Windows."
117
114
msgstr ""
118
- ":meth:`.PurePath.is_reserved` 已自 Python 3.13 被棄用。請 "
119
- "用 :func:`os.path. isreserved` 來偵測 Windows 上的保留路徑。"
115
+ ":meth:`.PurePath.is_reserved` 已自 Python 3.13 被棄用。請用 :func:`os.path. "
116
+ "isreserved` 來偵測 Windows 上的保留路徑。"
120
117
121
118
#: ../../deprecations/pending-removal-in-3.15.rst:52
122
119
msgid ":mod:`platform`:"
@@ -170,27 +167,36 @@ msgid ""
170
167
"in 3.15. (Contributed by Nikita Sobolev in :gh:`101866`.)"
171
168
msgstr ""
172
169
":class:`types.CodeType`:自 3.10 起,存取 :attr:`~codeobject.co_lnotab` 已"
173
- "在 :pep:`626` 中被棄用,並計劃在 3.12 中移除,但只在 3.12 中於適當時發 "
174
- "出 : exc:`DeprecationWarning`。可能在 3.15 中移除。(由 Nikita Sobolev "
175
- "於 :gh: `101866` 貢獻。)"
170
+ "在 :pep:`626` 中被棄用,並計劃在 3.12 中移除,但只在 3.12 中於適當時發出 : "
171
+ "exc:`DeprecationWarning`。可能在 3.15 中移除。(由 Nikita Sobolev 於 :gh: "
172
+ "`101866` 貢獻。)"
176
173
177
174
#: ../../deprecations/pending-removal-in-3.15.rst:80
178
175
msgid ":mod:`typing`:"
179
176
msgstr ":mod:`typing`:"
180
177
181
178
#: ../../deprecations/pending-removal-in-3.15.rst:82
182
179
msgid ""
183
- "The undocumented keyword argument syntax for "
184
- "creating :class:`~typing. NamedTuple` classes (e.g. ``Point = "
185
- "NamedTuple( \" Point \" , x=int, y=int)``) has been deprecated since Python "
186
- "3.13. Use the class-based syntax or the functional syntax instead."
180
+ "The undocumented keyword argument syntax for creating :class:`~typing. "
181
+ "NamedTuple` classes (e.g. ``Point = NamedTuple( \" Point \" , x=int, y=int)``) "
182
+ "has been deprecated since Python 3.13. Use the class-based syntax or the "
183
+ "functional syntax instead."
187
184
msgstr ""
188
185
"用於建立 :class:`~typing.NamedTuple` 類別的未以文件記錄之關鍵字引數語法 "
189
186
"(``Point = NamedTuple(\" Point\" , x=int, y=int)``) 已自 Python 3.13 棄用。請改"
190
187
"用基於類別的語法或函式語法 (functional syntax)。"
191
188
192
189
#: ../../deprecations/pending-removal-in-3.15.rst:88
193
190
msgid ""
191
+ "When using the functional syntax of :class:`~typing.TypedDict`\\ s, failing "
192
+ "to pass a value to the *fields* parameter (``TD = TypedDict(\" TD\" )``) or "
193
+ "passing ``None`` (``TD = TypedDict(\" TD\" , None)``) has been deprecated "
194
+ "since Python 3.13. Use ``class TD(TypedDict): pass`` or ``TD = "
195
+ "TypedDict(\" TD\" , {})`` to create a TypedDict with zero field."
196
+ msgstr ""
197
+
198
+ #: ../../deprecations/pending-removal-in-3.15.rst:95
199
+ msgid ""
194
200
"The :func:`typing.no_type_check_decorator` decorator function has been "
195
201
"deprecated since Python 3.13. After eight years in the :mod:`typing` module, "
196
202
"it has yet to be supported by any major type checker."
@@ -199,17 +205,16 @@ msgstr ""
199
205
"用。在 :mod:`typing` 模組中使用了八年之後,它尚未得到任何主要型別檢查器的支"
200
206
"援。"
201
207
202
- #: ../../deprecations/pending-removal-in-3.15.rst:93
208
+ #: ../../deprecations/pending-removal-in-3.15.rst:100
203
209
msgid ":mod:`wave`:"
204
210
msgstr ":mod:`wave`:"
205
211
206
- #: ../../deprecations/pending-removal-in-3.15.rst:95
212
+ #: ../../deprecations/pending-removal-in-3.15.rst:102
207
213
msgid ""
208
- "The :meth:`~wave.Wave_read.getmark`, :meth:`!setmark`, "
209
- "and :meth:`~wave.Wave_read.getmarkers` methods of "
210
- "the :class:`~wave.Wave_read` and :class:`~wave.Wave_write` classes have been "
211
- "deprecated since Python 3.13."
214
+ "The :meth:`~wave.Wave_read.getmark`, :meth:`!setmark`, and :meth:`~wave."
215
+ "Wave_read.getmarkers` methods of the :class:`~wave.Wave_read` and :class:"
216
+ "`~wave.Wave_write` classes have been deprecated since Python 3.13."
212
217
msgstr ""
213
- "已棄用 :class:`~wave.Wave_read` 和 :class:`~wave.Wave_write` 類別 "
214
- "的 :meth: `~wave.Wave_read.getmark`、:meth:`!setmark` "
215
- "和 :meth:`~wave.Wave_read. getmarkers` 方法自 Python 3.13 被棄用。"
218
+ "已棄用 :class:`~wave.Wave_read` 和 :class:`~wave.Wave_write` 類別的 :meth: "
219
+ "`~wave.Wave_read.getmark`、:meth:`!setmark` 和 :meth:`~wave.Wave_read. "
220
+ "getmarkers` 方法自 Python 3.13 被棄用。"
0 commit comments