8000 sync with cpython 80de9766 · python/python-docs-zh-tw@8f3625a · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f3625a

Browse files
sync with cpython 80de9766
1 parent fe54270 commit 8f3625a

File tree

13 files changed

+1828
-1681
lines changed

13 files changed

+1828
-1681
lines changed

c-api/unicode.po

Lines changed: 293 additions & 269 deletions
Large diffs are not rendered by default.

deprecations/index.po

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-09-24 07:20+0000\n"
9+
"POT-Creation-Date: 2024-09-28 00:13+0000\n"
1010
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1111
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1212
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -130,46 +130,38 @@ msgstr ""
130130
"Alan Williams 於 :gh:`72346` 貢獻。)"
131131

132132
#: ../../deprecations/pending-removal-in-3.14.rst:50
133-
msgid ""
134-
":mod:`importlib`: ``__package__`` and ``__cached__`` will cease to be set or "
135-
"taken into consideration by the import system (:gh:`97879`)."
136-
msgstr ""
137-
":mod:`importlib`:``__package__`` 和 ``__cached__`` 將不再被設定或被 import "
138-
"系統考慮。 (:gh:`97879`)"
139-
140-
#: ../../deprecations/pending-removal-in-3.14.rst:53
141133
msgid ":mod:`importlib.abc` deprecated classes:"
142134
msgstr ":mod:`importlib.abc` 的已棄用類別:"
143135

144-
#: ../../deprecations/pending-removal-in-3.14.rst:55
136+
#: ../../deprecations/pending-removal-in-3.14.rst:52
145137
msgid ":class:`!importlib.abc.ResourceReader`"
146138
msgstr ":class:`!importlib.abc.ResourceReader`"
147139

148-
#: ../../deprecations/pending-removal-in-3.14.rst:56
140+
#: ../../deprecations/pending-removal-in-3.14.rst:53
149141
msgid ":class:`!importlib.abc.Traversable`"
150142
msgstr ":class:`!importlib.abc.Traversable`"
151143

152-
#: ../../deprecations/pending-removal-in-3.14.rst:57
144+
#: ../../deprecations/pending-removal-in-3.14.rst:54
153145
msgid ":class:`!importlib.abc.TraversableResources`"
154146
msgstr ":class:`!importlib.abc.TraversableResources`"
155147

156-
#: ../../deprecations/pending-removal-in-3.14.rst:59
148+
#: ../../deprecations/pending-removal-in-3.14.rst:56
157149
msgid "Use :mod:`importlib.resources.abc` classes instead:"
158150
msgstr "請改用 :mod:`importlib.resources.abc` 類別:"
159151

160-
#: ../../deprecations/pending-removal-in-3.14.rst:61
152+
#: ../../deprecations/pending-removal-in-3.14.rst:58
161153
msgid ":class:`importlib.resources.abc.Traversable`"
162154
msgstr ":class:`importlib.resources.abc.Traversable`"
163155

164-
#: ../../deprecations/pending-removal-in-3.14.rst:62
156+
#: ../../deprecations/pending-removal-in-3.14.rst:59
165157
msgid ":class:`importlib.resources.abc.TraversableResources`"
166158
msgstr ":class:`importlib.resources.abc.TraversableResources`"
167159

168-
#: ../../deprecations/pending-removal-in-3.14.rst:64
160+
#: ../../deprecations/pending-removal-in-3.14.rst:61
169161
msgid "(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)"
170162
msgstr "(由 Jason R. Coombs 和 Hugo van Kemenade 貢獻於 :gh:`93963`。)"
171163

172-
#: ../../deprecations/pending-removal-in-3.14.rst:66
164+
#: ../../deprecations/pending-removal-in-3.14.rst:63
173165
msgid ""
174166
":mod:`itertools` had undocumented, inefficient, historically buggy, and "
175167
"inconsistent support for copy, deepcopy, and pickle operations. This will be "
@@ -180,7 +172,7 @@ msgstr ""
180172
"deepcopy 和 pickle 操作支援。將在 3.14 中移除以大幅減少程式碼量和維護負擔。 "
181173
"(由 Raymond Hettinger 於 :gh:`101588` 貢獻。)"
182174

183-
#: ../../deprecations/pending-removal-in-3.14.rst:72
175+
#: ../../deprecations/pending-removal-in-3.14.rst:69
184176
msgid ""
185177
":mod:`multiprocessing`: The default start method will change to a safer one "
186178
"on Linux, BSDs, and other non-macOS POSIX platforms where ``'fork'`` is "
@@ -197,15 +189,15 @@ msgstr ""
197189
"API 來明確指定你的程式碼何時\\ *需要* ``'fork'``。請參閱 :ref:"
198190
"`multiprocessing-start-methods`。"
199191

200-
#: ../../deprecations/pending-removal-in-3.14.rst:80
192+
#: ../../deprecations/pending-removal-in-3.14.rst:77
201193
msgid ""
202194
":mod:`pathlib`: :meth:`~pathlib.PurePath.is_relative_to` and :meth:`~pathlib."
203195
"PurePath.relative_to`: passing additional arguments is deprecated."
204196
msgstr ""
205197
":mod:`pathlib`:已棄用 :meth:`~pathlib.PurePath.is_relative_to` 和 :meth:"
206198
"`~pathlib.PurePath.relative_to`:額外引數的傳遞已被棄用。"
207199

208-
#: ../../deprecations/pending-removal-in-3.14.rst:84
200+
#: ../../deprecations/pending-removal-in-3.14.rst:81
209201
msgid ""
210202
":mod:`pkgutil`: :func:`~pkgutil.find_loader` and :func:`~pkgutil.get_loader` "
211203
"now raise :exc:`DeprecationWarning`; use :func:`importlib.util.find_spec` "
@@ -215,27 +207,27 @@ msgstr ""
215207
"現在會引發 :exc:`DeprecationWarning`;請改用 :func:`importlib.util."
216208
"find_spec`。 (由 Nikita Sobolev 於 :gh:`97850` 貢獻。)"
217209

218-
#: ../../deprecations/pending-removal-in-3.14.rst:89
210+
#: ../../deprecations/pending-removal-in-3.14.rst:86
219211
msgid ":mod:`pty`:"
220212
msgstr ":mod:`pty`:"
221213

222-
#: ../../deprecations/pending-removal-in-3.14.rst:91
214+
#: ../../deprecations/pending-removal-in-3.14.rst:88
223215
msgid "``master_open()``: use :func:`pty.openpty`."
224216
msgstr "``master_open()``:請用 :func:`pty.openpty`。"
225217

226-
#: ../../deprecations/pending-removal-in-3.14.rst:92
218+
#: ../../deprecations/pending-removal-in-3.14.rst:89
227219
msgid "``slave_open()``: use :func:`pty.openpty`."
228220
msgstr "``slave_open()``:請用 :func:`pty.openpty`。"
229221

230-
#: ../../deprecations/pending-removal-in-3.14.rst:94
222+
#: ../../deprecations/pending-removal-in-3.14.rst:91
231223
msgid ":mod:`sqlite3`:"
232224
msgstr ":mod:`sqlite3`:"
233225

234-
#: ../../deprecations/pending-removal-in-3.14.rst:96
226+
#: ../../deprecations/pending-removal-in-3.14.rst:93
235227
msgid ":data:`~sqlite3.version` and :data:`~sqlite3.version_info`."
236228
msgstr ":data:`~sqlite3.version` 和 :data:`~sqlite3.version_info`。"
237229

238-
#: ../../deprecations/pending-removal-in-3.14.rst:98
230+
#: ../../deprecations/pending-removal-in-3.14.rst:95
239231
msgid ""
240232
":meth:`~sqlite3.Cursor.execute` and :meth:`~sqlite3.Cursor.executemany` if :"
241233
"ref:`named placeholders <sqlite3-placeholders>` are used and *parameters* is "
@@ -245,15 +237,15 @@ msgstr ""
245237
"使用 :ref:`named placeholders <sqlite3-placeholders>` 且 *parameters* 是序列"
246238
"而不是 :class:`dict`。"
247239

248-
#: ../../deprecations/pending-removal-in-3.14.rst:102
240+
#: ../../deprecations/pending-removal-in-3.14.rst:99
249241
msgid ""
250242
"date and datetime adapter, date and timestamp converter: see the :mod:"
251243
"`sqlite3` documentation for suggested replacement recipes."
252244
msgstr ""
253245
"date 和 datetime 的適配器 (adapter)、date 和 timestamp 轉換器 (converter):請"
254246
"參閱 :mod:`sqlite3` 文件以獲得建議的替代方案。"
255247

256-
#: ../../deprecations/pending-removal-in-3.14.rst:105
248+
#: ../../deprecations/pending-removal-in-3.14.rst:102
257249
msgid ""
258250
":class:`types.CodeType`: Accessing :attr:`~codeobject.co_lnotab` was "
259251
"deprecated in :pep:`626` since 3.10 and was planned to be removed in 3.12, "
@@ -265,15 +257,15 @@ msgstr ""
265257
"exc:`DeprecationWarning`。可能在 3.14 中移除。(由 Nikita Sobolev 於 :gh:"
266258
"`101866` 貢獻。)"
267259

268-
#: ../../deprecations/pending-removal-in-3.14.rst:112
260+
#: ../../deprecations/pending-removal-in-3.14.rst:109
269261
msgid ""
270262
":mod:`typing`: :class:`~typing.ByteString`, deprecated since Python 3.9, now "
271263
"causes a :exc:`DeprecationWarning` to be emitted when it is used."
272264
msgstr ""
273265
":mod:`typing`:自 Python 3.9 起已被棄用的 :class:`~typing.ByteString` 現在在"
274266
"使用時會發出 :exc:`DeprecationWarning`。"
275267

276-
#: ../../deprecations/pending-removal-in-3.14.rst:115
268+
#: ../../deprecations/pending-removal-in-3.14.rst:112
277269
msgid ""
278270
":mod:`urllib`: :class:`!urllib.parse.Quoter` is deprecated: it was not "
279271
"intended to be a public API. (Contributed by Gregory P. Smith in :gh:"
@@ -321,10 +313,18 @@ msgstr ""
321313
"cgi` 旗標已被棄用。"
322314

323315
#: ../../deprecations/pending-removal-in-3.15.rst:20
316+
msgid ""
317+
":mod:`importlib`: ``__package__`` and ``__cached__`` will cease to be set or "
318+
"taken into consideration by the import system (:gh:`97879`)."
319+
msgstr ""
320+
":mod:`importlib`:``__package__`` 和 ``__cached__`` 將不再被設定或被 import "
321+
"系統考慮。 (:gh:`97879`)"
322+
323+
#: ../../deprecations/pending-removal-in-3.15.rst:23
324324
msgid ":class:`locale`:"
325325
msgstr ":class:`locale`:"
326326

327-
#: ../../deprecations/pending-removal-in-3.15.rst:22
327+
#: ../../deprecations/pending-removal-in-3.15.rst:25
328328
msgid ""
329329
"The :func:`~locale.getdefaultlocale` function has been deprecated since "
330330
"Python 3.11. Its removal was originally planned for Python 3.13 (:gh:"
@@ -337,23 +337,23 @@ msgstr ""
337337
"`~locale.getlocale`、:func:`~locale.setlocale` 和 :func:`~locale."
338338
"getencoding`。 (由 Hugo van Kemenade 於 :gh:`111187` 貢獻。)"
339339

340-
#: ../../deprecations/pending-removal-in-3.15.rst:30
340+
#: ../../deprecations/pending-removal-in-3.15.rst:33
341341
msgid ":mod:`pathlib`:"
342342
msgstr ":mod:`pathlib`:"
343343

344-
#: ../../deprecations/pending-removal-in-3.15.rst:32
344+
#: ../../deprecations/pending-removal-in-3.15.rst:35
345345
msgid ""
346346
":meth:`.PurePath.is_reserved` has been deprecated since Python 3.13. Use :"
347347
"func:`os.path.isreserved` to detect reserved paths on Windows."
348348
msgstr ""
349349
":meth:`.PurePath.is_reserved` 已自 Python 3.13 被棄用。請用 :func:`os.path."
350350
"isreserved` 來偵測 Windows 上的保留路徑。"
351351

352-
#: ../../deprecations/pending-removal-in-3.15.rst:36
352+
#: ../../deprecations/pending-removal-in-3.15.rst:39
353353
msgid ":mod:`platform`:"
354354
msgstr ":mod:`platform`:"
355355

356-
#: ../../deprecations/pending-removal-in-3.15.rst:38
356+
#: ../../deprecations/pending-removal-in-3.15.rst:41
357357
msgid ""
358358
":func:`~platform.java_ver` has been deprecated since Python 3.13. This "
359359
"function is only useful for Jython support, has a confusing API, and is "
@@ -362,11 +362,11 @@ msgstr ""
362362
"自 Python 3.13 起,:func:`~platform.java_ver` 已被棄用。此函式僅對 Jython 支"
363363
"援有用,具有令人困惑的 API,基本上未經測試。"
364364

365-
#: ../../deprecations/pending-removal-in-3.15.rst:42
365+
#: ../../deprecations/pending-removal-in-3.15.rst:45
366366
msgid ":mod:`threading`:"
367367
msgstr ":mod:`threading`:"
368368

369-
#: ../../deprecations/pending-removal-in-3.15.rst:44
369+
#: ../../deprecations/pending-removal-in-3.15.rst:47
370370
msgid ""
371371
":func:`~threading.RLock` will take no arguments in Python 3.15. Passing any "
372372
"arguments has been deprecated since Python 3.14, as the Python version does "
@@ -377,11 +377,11 @@ msgstr ""
377377
"起,傳遞任何引數的用法已被棄用,因為 Python 版本不允許任何引數,但 C 版本允許"
378378
"任意數量的位置或關鍵字引數,並忽略每個引數。"
379379

380-
#: ../../deprecations/pending-removal-in-3.15.rst:50
380+
#: ../../deprecations/pending-removal-in-3.15.rst:53
381381
msgid ":mod:`typing`:"
382382
msgstr ":mod:`typing`:"
383383

384-
#: ../../deprecations/pending-removal-in-3.15.rst:52
384+
#: ../../deprecations/pending-removal-in-3.15.rst:55
385385
msgid ""
386386
"The undocumented keyword argument syntax for creating :class:`~typing."
387387
"NamedTuple` classes (e.g. ``Point = NamedTuple(\"Point\", x=int, y=int)``) "
@@ -392,7 +392,7 @@ msgstr ""
392392
"(``Point = NamedTuple(\"Point\", x=int, y=int)``) 已自 Python 3.13 棄用。請改"
393393
"用基於類別的語法或函式語法 (functional syntax)。"
394394

395-
#: ../../deprecations/pending-removal-in-3.15.rst:58
395+
#: ../../deprecations/pending-removal-in-3.15.rst:61
396396
msgid ""
397397
"The :func:`typing.no_type_check_decorator` decorator function has been "
398398
"deprecated since Python 3.13. After eight years in the :mod:`typing` module, "
@@ -402,11 +402,11 @@ msgstr ""
402402
"用。在 :mod:`typing` 模組中使用了八年之後,它尚未得到任何主要型別檢查器的支"
403403
"援。"
404404

405-
#: ../../deprecations/pending-removal-in-3.15.rst:63
405+
#: ../../deprecations/pending-removal-in-3.15.rst:66
406406
msgid ":mod:`wave`:"
407407
msgstr ":mod:`wave`:"
408408

409-
#: ../../deprecations/pending-removal-in-3.15.rst:65
409+
#: ../../deprecations/pending-removal-in-3.15.rst:68
410410
msgid ""
411411
"The :meth:`~wave.Wave_read.getmark`, :meth:`!setmark`, and :meth:`~wave."
412412
"Wave_read.getmarkers` methods of the :class:`~wave.Wave_read` and :class:"

0 commit comments

Comments
 (0)
0