55msgstr ""
66"Project-Id-Version : Python 3.13\n "
77"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 "
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- "
@@ -25,22 +25,21 @@ msgstr "引入系統 (import system):"
2525
2626#: ../../deprecations/pending-removal-in-3.15.rst:6
2727msgid ""
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`)"
3232msgstr ""
3333"在模組上設定 :attr:`~module.__cached__` 而沒有設定 :attr:`__spec__.cached "
3434"<importlib.machinery.ModuleSpec.cached>` 的做法已被棄用。在 Python 3.15 中,"
3535"引入系統或標準函式庫將不再設定或考慮 :attr:`!__cached__`。(:gh:`97879`)"
3636
3737#: ../../deprecations/pending-removal-in-3.15.rst:11
3838msgid ""
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`)"
4443msgstr ""
4544"在模組上設定 :attr:`~module.__package__` 而沒有設定 :attr:`__spec__.parent "
4645"<importlib.machinery.ModuleSpec.parent>` 的做法已被棄用。在 Python 3.15 中,"
@@ -94,29 +93,27 @@ msgstr ":class:`locale`:"
9493#: ../../deprecations/pending-removal-in-3.15.rst:38
9594msgid ""
9695"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`.)"
102100msgstr ""
103101":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` 貢獻。)"
108105
109106#: ../../deprecations/pending-removal-in-3.15.rst:46
110107msgid ":mod:`pathlib`:"
111108msgstr ":mod:`pathlib`:"
112109
113110#: ../../deprecations/pending-removal-in-3.15.rst:48
114111msgid ""
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."
117114msgstr ""
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 上的保留路徑。"
120117
121118#: ../../deprecations/pending-removal-in-3.15.rst:52
122119msgid ":mod:`platform`:"
@@ -170,27 +167,36 @@ msgid ""
170167"in 3.15. (Contributed by Nikita Sobolev in :gh:`101866`.)"
171168msgstr ""
172169":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` 貢獻。)"
176173
177174#: ../../deprecations/pending-removal-in-3.15.rst:80
178175msgid ":mod:`typing`:"
179176msgstr ":mod:`typing`:"
180177
181178#: ../../deprecations/pending-removal-in-3.15.rst:82
182179msgid ""
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."
187184msgstr ""
188185"用於建立 :class:`~typing.NamedTuple` 類別的未以文件記錄之關鍵字引數語法 "
189186"(``Point = NamedTuple(\" Point\" , x=int, y=int)``) 已自 Python 3.13 棄用。請改"
190187"用基於類別的語法或函式語法 (functional syntax)。"
191188
192189#: ../../deprecations/pending-removal-in-3.15.rst:88
193190msgid ""
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 ""
194200"The :func:`typing.no_type_check_decorator` decorator function has been "
195201"deprecated since Python 3.13. After eight years in the :mod:`typing` module, "
196202"it has yet to be supported by any major type checker."
@@ -199,17 +205,16 @@ msgstr ""
199205"用。在 :mod:`typing` 模組中使用了八年之後,它尚未得到任何主要型別檢查器的支"
200206"援。"
201207
202- #: ../../deprecations/pending-removal-in-3.15.rst:93
208+ #: ../../deprecations/pending-removal-in-3.15.rst:100
203209msgid ":mod:`wave`:"
204210msgstr ":mod:`wave`:"
205211
206- #: ../../deprecations/pending-removal-in-3.15.rst:95
212+ #: ../../deprecations/pending-removal-in-3.15.rst:102
207213msgid ""
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."
212217msgstr ""
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