Skip to content

Commit 685766c

Browse files
sync with cpython b53065a0
1 parent 015e2b3 commit 685766c

File tree

5 files changed

+1773
-1792
lines changed

5 files changed

+1773
-1792
lines changed

Diff for: deprecations/index.po

+52-40
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-02-12 00:13+0000\n"
8+
"POT-Creation-Date: 2025-02-28 00:14+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-"
@@ -372,10 +372,23 @@ msgstr ""
372372
"援有用,具有令人困惑的 API,基本上未經測試。"
373373

374374
#: ../../deprecations/pending-removal-in-3.15.rst:58
375+
#, fuzzy
376+
msgid ":mod:`sysconfig`:"
377+
msgstr ":mod:`sys`:"
378+
379+
#: ../../deprecations/pending-removal-in-3.15.rst:60
380+
#, fuzzy
381+
msgid ""
382+
"The *check_home* argument of :func:`sysconfig.is_python_build` has been "
383+
"deprecated since Python 3.12."
384+
msgstr ""
385+
"自 Python 3.13 起,未記錄的 :func:`!ctypes.SetPointerType` 函式已被棄用。"
386+
387+
#: ../../deprecations/pending-removal-in-3.15.rst:63
375388
msgid ":mod:`threading`:"
376389
msgstr ":mod:`threading`:"
377390

378-
#: ../../deprecations/pending-removal-in-3.15.rst:60
391+
#: ../../deprecations/pending-removal-in-3.15.rst:65
379392
msgid ""
380393
":func:`~threading.RLock` will take no arguments in Python 3.15. Passing any "
381394
"arguments has been deprecated since Python 3.14, as the Python version does "
@@ -386,11 +399,11 @@ msgstr ""
386399
"起,傳遞任何引數的用法已被棄用,因為 Python 版本不允許任何引數,但 C 版本允許"
387400
"任意數量的位置或關鍵字引數,並忽略每個引數。"
388401

389-
#: ../../deprecations/pending-removal-in-3.15.rst:66
402+
#: ../../deprecations/pending-removal-in-3.15.rst:71
390403
msgid ":mod:`types`:"
391404
msgstr ":mod:`types`:"
392405

393-
#: ../../deprecations/pending-removal-in-3.15.rst:68
406+
#: ../../deprecations/pending-removal-in-3.15.rst:73
394407
msgid ""
395408
":class:`types.CodeType`: Accessing :attr:`~codeobject.co_lnotab` was "
396409
"deprecated in :pep:`626` since 3.10 and was planned to be removed in 3.12, "
@@ -402,11 +415,11 @@ msgstr ""
402415
"exc:`DeprecationWarning`。可能在 3.15 中移除。(由 Nikita Sobolev 於 :gh:"
403416
"`101866` 貢獻。)"
404417

405-
#: ../../deprecations/pending-removal-in-3.15.rst:75
418+
#: ../../deprecations/pending-removal-in-3.15.rst:80
406419
msgid ":mod:`typing`:"
407420
msgstr ":mod:`typing`:"
408421

409-
#: ../../deprecations/pending-removal-in-3.15.rst:77
422+
#: ../../deprecations/pending-removal-in-3.15.rst:82
410423
msgid ""
411424
"The undocumented keyword argument syntax for creating :class:`~typing."
412425
"NamedTuple` classes (e.g. ``Point = NamedTuple(\"Point\", x=int, y=int)``) "
@@ -417,7 +430,7 @@ msgstr ""
417430
"(``Point = NamedTuple(\"Point\", x=int, y=int)``) 已自 Python 3.13 棄用。請改"
418431
"用基於類別的語法或函式語法 (functional syntax)。"
419432

420-
#: ../../deprecations/pending-removal-in-3.15.rst:83
433+
#: ../../deprecations/pending-removal-in-3.15.rst:88
421434
msgid ""
422435
"The :func:`typing.no_type_check_decorator` decorator function has been "
423436
"deprecated since Python 3.13. After eight years in the :mod:`typing` module, "
@@ -427,11 +440,11 @@ msgstr ""
427440
"用。在 :mod:`typing` 模組中使用了八年之後,它尚未得到任何主要型別檢查器的支"
428441
"援。"
429442

430-
#: ../../deprecations/pending-removal-in-3.15.rst:88
443+
#: ../../deprecations/pending-removal-in-3.15.rst:93
431444
msgid ":mod:`wave`:"
432445
msgstr ":mod:`wave`:"
433446

434-
#: ../../deprecations/pending-removal-in-3.15.rst:90
447+
#: ../../deprecations/pending-removal-in-3.15.rst:95
435448
msgid ""
436449
"The :meth:`~wave.Wave_read.getmark`, :meth:`!setmark`, and :meth:`~wave."
437450
"Wave_read.getmarkers` methods of the :class:`~wave.Wave_read` and :class:"
@@ -812,117 +825,110 @@ msgid "``ssl.TLSVersion.TLSv1_1``"
812825
msgstr "``ssl.TLSVersion.TLSv1_1``"
813826

814827
#: ../../deprecations/pending-removal-in-future.rst:108
815-
msgid ""
816-
":func:`sysconfig.is_python_build` *check_home* parameter is deprecated and "
817-
"ignored."
818-
msgstr ""
819-
":func:`sysconfig.is_python_build` 的 *check_home* 參數已被棄用並被忽略。"
820-
821-
#: ../../deprecations/pending-removal-in-future.rst:111
822828
msgid ":mod:`threading` methods:"
823829
msgstr ":mod:`threading` 方法:"
824830

825-
#: ../../deprecations/pending-removal-in-future.rst:113
831+
#: ../../deprecations/pending-removal-in-future.rst:110
826832
msgid ""
827833
":meth:`!threading.Condition.notifyAll`: use :meth:`~threading.Condition."
828834
"notify_all`."
829835
msgstr ""
830836
":meth:`!threading.Condition.notifyAll`:請用 :meth:`~threading.Condition."
831837
"notify_all`。"
832838

833-
#: ../../deprecations/pending-removal-in-future.rst:114
839+
#: ../../deprecations/pending-removal-in-future.rst:111
834840
msgid ":meth:`!threading.Event.isSet`: use :meth:`~threading.Event.is_set`."
835841
msgstr ":meth:`!threading.Event.isSet`:請用 :meth:`~threading.Event.is_set`。"
836842

837-
#: ../../deprecations/pending-removal-in-future.rst:115
843+
#: ../../deprecations/pending-removal-in-future.rst:112
838844
msgid ""
839845
":meth:`!threading.Thread.isDaemon`, :meth:`threading.Thread.setDaemon`: use :"
840846
"attr:`threading.Thread.daemon` attribute."
841847
msgstr ""
842848
":meth:`!threading.Thread.isDaemon`、:meth:`threading.Thread.setDaemon`:請"
843849
"用 :attr:`threading.Thread.daemon` 屬性。"
844850

845-
#: ../../deprecations/pending-removal-in-future.rst:117
851+
#: ../../deprecations/pending-removal-in-future.rst:114
846852
msgid ""
847853
":meth:`!threading.Thread.getName`, :meth:`threading.Thread.setName`: use :"
848854
"attr:`threading.Thread.name` attribute."
849855
msgstr ""
850856
":meth:`!threading.Thread.getName`、:meth:`threading.Thread.setName`:請用 :"
851857
"attr:`threading.Thread.name` 屬性。"
852858

853-
#: ../../deprecations/pending-removal-in-future.rst:119
859+
#: ../../deprecations/pending-removal-in-future.rst:116
854860
msgid ":meth:`!threading.currentThread`: use :meth:`threading.current_thread`."
855861
msgstr ""
856862
":meth:`!threading.currentThread`:請用 :meth:`threading.current_thread`。"
857863

858-
#: ../../deprecations/pending-removal-in-future.rst:120
864+
#: ../../deprecations/pending-removal-in-future.rst:117
859865
msgid ":meth:`!threading.activeCount`: use :meth:`threading.active_count`."
860866
msgstr ":meth:`!threading.activeCount`:請用 :meth:`threading.active_count`。"
861867

862-
#: ../../deprecations/pending-removal-in-future.rst:122
868+
#: ../../deprecations/pending-removal-in-future.rst:119
863869
msgid ":class:`typing.Text` (:gh:`92332`)."
864870
msgstr ":class:`typing.Text` (:gh:`92332`)。"
865871

866-
#: ../../deprecations/pending-removal-in-future.rst:124
872+
#: ../../deprecations/pending-removal-in-future.rst:121
867873
msgid ""
868874
":class:`unittest.IsolatedAsyncioTestCase`: it is deprecated to return a "
869875
"value that is not ``None`` from a test case."
870876
msgstr ""
871877
":class:`unittest.IsolatedAsyncioTestCase`:從測試案例中回傳非 ``None`` 的值已"
872878
"被棄用。"
873879

874-
#: ../../deprecations/pending-removal-in-future.rst:127
880+
#: ../../deprecations/pending-removal-in-future.rst:124
875881
msgid ""
876882
":mod:`urllib.parse` deprecated functions: :func:`~urllib.parse.urlparse` "
877883
"instead"
878884
msgstr ""
879885
":mod:`urllib.parse` 已棄用函式:請改用 :func:`~urllib.parse.urlparse`。"
880886

881-
#: ../../deprecations/pending-removal-in-future.rst:129
887+
#: ../../deprecations/pending-removal-in-future.rst:126
882888
msgid "``splitattr()``"
883889
msgstr "``splitattr()``"
884890

885-
#: ../../deprecations/pending-removal-in-future.rst:130
891+
#: ../../deprecations/pending-removal-in-future.rst:127
886892
msgid "``splithost()``"
887893
msgstr "``splithost()``"
888894

889-
#: ../../deprecations/pending-removal-in-future.rst:131
895+
#: ../../deprecations/pending-removal-in-future.rst:128
890896
msgid "``splitnport()``"
891897
msgstr "``splitnport()``"
892898

893-
#: ../../deprecations/pending-removal-in-future.rst:132
899+
#: ../../deprecations/pending-removal-in-future.rst:129
894900
msgid "``splitpasswd()``"
895901
msgstr "``splitpasswd()``"
896902

897-
#: ../../deprecations/pending-removal-in-future.rst:133
903+
#: ../../deprecations/pending-removal-in-future.rst:130
898904
msgid "``splitport()``"
899905
msgstr "``splitport()``"
900906

901-
#: ../../deprecations/pending-removal-in-future.rst:134
907+
#: ../../deprecations/pending-removal-in-future.rst:131
902908
msgid "``splitquery()``"
903909
msgstr "``splitquery()``"
904910

905-
#: ../../deprecations/pending-removal-in-future.rst:135
911+
#: ../../deprecations/pending-removal-in-future.rst:132
906912
msgid "``splittag()``"
907913
msgstr "``splittag()``"
908914

909-
#: ../../deprecations/pending-removal-in-future.rst:136
915+
#: ../../deprecations/pending-removal-in-future.rst:133
910916
msgid "``splittype()``"
911917
msgstr "``splittype()``"
912918

913-
#: ../../deprecations/pending-removal-in-future.rst:137
919+
#: ../../deprecations/pending-removal-in-future.rst:134
914920
msgid "``splituser()``"
915921
msgstr "``splituser()``"
916922

917-
#: ../../deprecations/pending-removal-in-future.rst:138
923+
#: ../../deprecations/pending-removal-in-future.rst:135
918924
msgid "``splitvalue()``"
919925
msgstr "``splitvalue()``"
920926

921-
#: ../../deprecations/pending-removal-in-future.rst:139
927+
#: ../../deprecations/pending-removal-in-future.rst:136
922928
msgid "``to_bytes()``"
923929
msgstr "``to_bytes()``"
924930

925-
#: ../../deprecations/pending-removal-in-future.rst:141
931+
#: ../../deprecations/pending-removal-in-future.rst:138
926932
msgid ""
927933
":mod:`urllib.request`: :class:`~urllib.request.URLopener` and :class:"
928934
"`~urllib.request.FancyURLopener` style of invoking requests is deprecated. "
@@ -932,13 +938,13 @@ msgstr ""
932938
"class:`~urllib.request.FancyURLopener` 風格已被棄用。請改用更新的 :func:"
933939
"`~urllib.request.urlopen` 函式和方法。"
934940

935-
#: ../../deprecations/pending-removal-in-future.rst:145
941+
#: ../../deprecations/pending-removal-in-future.rst:142
936942
msgid ""
937943
":mod:`wsgiref`: ``SimpleHandler.stdout.write()`` should not do partial "
938944
"writes."
939945
msgstr ":mod:`wsgiref`:``SimpleHandler.stdout.write()`` 不應該進行部分寫入。"
940946

941-
#: ../../deprecations/pending-removal-in-future.rst:148
947+
#: ../../deprecations/pending-removal-in-future.rst:145
942948
msgid ""
943949
":mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`~xml."
944950
"etree.ElementTree.Element` is deprecated. In a future release it will always "
@@ -949,7 +955,7 @@ msgstr ""
949955
"Element` 的真值測試。在未來版本中,它將始終回傳 ``True``。請改用明確的 "
950956
"``len(elem)`` 或 ``elem is not None`` 測試。"
951957

952-
#: ../../deprecations/pending-removal-in-future.rst:153
958+
#: ../../deprecations/pending-removal-in-future.rst:150
953959
msgid ""
954960
":meth:`zipimport.zipimporter.load_module` is deprecated: use :meth:"
955961
"`~zipimport.zipimporter.exec_module` instead."
@@ -1355,3 +1361,9 @@ msgstr ""
13551361
#: ../../deprecations/c-api-pending-removal-in-future.rst:50
13561362
msgid ":c:func:`PyThread_ReInitTLS`: Unneeded since Python 3.7."
13571363
msgstr ":c:func:`PyThread_ReInitTLS`:自 Python 3.7 起不再需要。"
1364+
1365+
#~ msgid ""
1366+
#~ ":func:`sysconfig.is_python_build` *check_home* parameter is deprecated "
1367+
#~ "and ignored."
1368+
#~ msgstr ""
1369+
#~ ":func:`sysconfig.is_python_build` 的 *check_home* 參數已被棄用並被忽略。"

0 commit comments

Comments
 (0)