Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 13b2845

Browse files
authoredFeb 5, 2025·
sync with cpython 4f026156
1 parent 2d8bd4c commit 13b2845

14 files changed

+46
-44
lines changed
 

‎howto/free-threading-python.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-10-04 00:13+0000\n"
10+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1111
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1212
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -82,7 +82,7 @@ msgstr ""
8282
#: ../../howto/free-threading-python.rst:45
8383
msgid ""
8484
"To check if the current interpreter supports free-threading, :option:`python "
85-
"-VV <-V>` and :attr:`sys.version` contain \"experimental free-threading "
85+
"-VV <-V>` and :data:`sys.version` contain \"experimental free-threading "
8686
"build\". The new :func:`sys._is_gil_enabled` function can be used to check "
8787
"whether the GIL is actually disabled in the running process."
8888
msgstr ""

‎library/datetime.po

+3-3
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-10-15 00:14+0000\n"
9+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1010
"PO-Revision-Date: 2023-08-07 10:20+0800\n"
1111
"Last-Translator: Griiid <gridwing@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1493,7 +1493,7 @@ msgid ""
14931493
msgstr ""
14941494

14951495
#: ../../library/datetime.rst:940
1496-
msgid "Use :meth:`datetime.now` with :attr:`UTC` instead."
1496+
msgid "Use :meth:`datetime.now` with :const:`UTC` instead."
14971497
msgstr ""
14981498

14991499
#: ../../library/datetime.rst:945
@@ -1593,7 +1593,7 @@ msgid ""
15931593
msgstr ""
15941594

15951595
#: ../../library/datetime.rst:1012
1596-
msgid "Use :meth:`datetime.fromtimestamp` with :attr:`UTC` instead."
1596+
msgid "Use :meth:`datetime.fromtimestamp` with :const:`UTC` instead."
15971597
msgstr ""
15981598

15991599
#: ../../library/datetime.rst:1017

‎library/decimal.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-03 11:11+0800\n"
10+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:43+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2810,7 +2810,7 @@ msgstr ""
28102810

28112811
#: ../../library/decimal.rst:2248
28122812
msgid ""
2813-
"For inexact results, :attr:`MAX_PREC` is far too large on 64-bit platforms "
2813+
"For inexact results, :const:`MAX_PREC` is far too large on 64-bit platforms "
28142814
"and the available memory will be insufficient::"
28152815
msgstr ""
28162816

‎library/importlib.metadata.po

+2-2
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-11-23 00:14+0000\n"
9+
"POT-Creation-Date: 2025-02-05 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: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -595,7 +595,7 @@ msgstr ""
595595
#: ../../library/importlib.metadata.rst:377
596596
msgid ""
597597
"Return a mapping from the top level module and import package names found "
598-
"via :attr:`sys.meta_path` to the names of the distribution packages (if any) "
598+
"via :data:`sys.meta_path` to the names of the distribution packages (if any) "
599599
"that provide the corresponding files."
600600
msgstr ""
601601

‎library/importlib.po

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-01-16 00:13+0000\n"
10+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -993,7 +993,7 @@ msgstr ""
993993
#: ../../library/importlib.rst:748
994994
msgid ""
995995
"When opening as text, accepts encoding parameters such as those accepted by :"
996-
"attr:`io.TextIOWrapper`."
996+
"class:`io.TextIOWrapper`."
997997
msgstr ""
998998

999999
#: ../../library/importlib.rst:753
@@ -1053,7 +1053,7 @@ msgid ""
10531053
msgstr ""
10541054

10551055
#: ../../library/importlib.rst:811 ../../library/importlib.rst:821
1056-
msgid "Use :attr:`BYTECODE_SUFFIXES` instead."
1056+
msgid "Use :const:`BYTECODE_SUFFIXES` instead."
10571057
msgstr ""
10581058

10591059
#: ../../library/importlib.rst:816
@@ -1349,7 +1349,7 @@ msgstr ""
13491349
#: ../../library/importlib.rst:1111
13501350
msgid ""
13511351
"Returns ``True`` if the file path points to a package's ``__init__`` module "
1352-
"based on :attr:`EXTENSION_SUFFIXES`."
1352+
"based on :const:`EXTENSION_SUFFIXES`."
13531353
msgstr ""
13541354

13551355
#: ../../library/importlib.rst:1116

‎library/logging.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-27 00:14+0000\n"
10+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1111
"PO-Revision-Date: 2024-03-28 22:40+0800\n"
1212
"Last-Translator: RockLeon <therockleona@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -527,7 +527,7 @@ msgstr ""
527527
msgid ""
528528
"If no handler is attached to this logger (or any of its ancestors, taking "
529529
"into account the relevant :attr:`Logger.propagate` attributes), the message "
530-
"will be sent to the handler set on :attr:`lastResort`."
530+
"will be sent to the handler set on :data:`lastResort`."
531531
msgstr ""
532532

533533
#: ../../library/logging.rst:347

‎library/plistlib.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1111
"PO-Revision-Date: 2016-01-31 07:27+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -119,7 +119,7 @@ msgstr ""
119119
msgid ""
120120
"When *aware_datetime* is true, fields with type ``datetime.datetime`` will "
121121
"be created as :ref:`aware object <datetime-naive-aware>`, with :attr:`!"
122-
"tzinfo` as :attr:`datetime.UTC`."
122+
"tzinfo` as :const:`datetime.UTC`."
123123
msgstr ""
124124

125125
#: ../../library/plistlib.rst:76

‎library/site.po

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.13\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-09-23 07:52+0800\n"
10+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:10+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -58,7 +58,7 @@ msgid ""
5858
"then :file:`lib/site-packages` (on Windows) or :file:`lib/python{X.Y[t]}/"
5959
"site-packages` (on Unix and macOS). (The optional suffix \"t\" indicates "
6060
"the :term:`free threading` build, and is appended if ``\"t\"`` is present in "
61-
"the :attr:`sys.abiflags` constant.) For each of the distinct head-tail "
61+
"the :data:`sys.abiflags` constant.) For each of the distinct head-tail "
6262
"combinations, it sees if it refers to an existing directory, and if so, adds "
6363
"it to ``sys.path`` and also inspects the newly added path for configuration "
6464
"files."

‎library/ssl.po

+4-4
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-12-20 00:13+0000\n"
9+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1010
"PO-Revision-Date: 2024-08-28 00:43+0800\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2707,8 +2707,8 @@ msgstr ""
27072707
msgid ""
27082708
"A :class:`TLSVersion` enum member representing the highest supported TLS "
27092709
"version. The value defaults to :attr:`TLSVersion.MAXIMUM_SUPPORTED`. The "
2710-
"attribute is read-only for protocols other than :attr:`PROTOCOL_TLS`, :attr:"
2711-
"`PROTOCOL_TLS_CLIENT`, and :attr:`PROTOCOL_TLS_SERVER`."
2710+
"attribute is read-only for protocols other than :const:`PROTOCOL_TLS`, :"
2711+
"const:`PROTOCOL_TLS_CLIENT`, and :const:`PROTOCOL_TLS_SERVER`."
27122712
msgstr ""
27132713

27142714
#: ../../library/ssl.rst:1937
@@ -2729,7 +2729,7 @@ msgstr ""
27292729

27302730
#: ../../library/ssl.rst:1957
27312731
msgid ""
2732-
"Control the number of TLS 1.3 session tickets of a :attr:"
2732+
"Control the number of TLS 1.3 session tickets of a :const:"
27332733
"`PROTOCOL_TLS_SERVER` context. The setting has no impact on TLS 1.0 to 1.2 "
27342734
"connections."
27352735
msgstr ""

‎whatsnew/2.3.po

+2-2
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-27 00:14+0000\n"
9+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:19+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -501,7 +501,7 @@ msgid ""
501501
"Other systems also allow Unicode strings as file names but convert them to "
502502
"byte strings before passing them to the system, which can cause a :exc:"
503503
"`UnicodeError` to be raised. Applications can test whether arbitrary Unicode "
504-
"strings are supported as file names by checking :attr:`os.path."
504+
"strings are supported as file names by checking :const:`os.path."
505505
"supports_unicode_filenames`, a Boolean value."
506506
msgstr ""
507507

‎whatsnew/2.7.po

+10-10
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: 2025-02-05 00:13+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:20+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -2345,7 +2345,7 @@ msgstr ""
23452345

23462346
#: ../../whatsnew/2.7.rst:1605
23472347
msgid ""
2348-
"The :attr:`sys.version_info` value is now a named tuple, with attributes "
2348+
"The :data:`sys.version_info` value is now a named tuple, with attributes "
23492349
"named :attr:`!major`, :attr:`!minor`, :attr:`!micro`, :attr:`!releaselevel`, "
23502350
"and :attr:`!serial`. (Contributed by Ross Light; :issue:`4285`.)"
23512351
msgstr ""
@@ -2980,14 +2980,14 @@ msgid ""
29802980
"ElementTree's code for converting trees to a string has been significantly "
29812981
"reworked, making it roughly twice as fast in many cases. The :meth:"
29822982
"`ElementTree.write() <xml.etree.ElementTree.ElementTree.write>` and :meth:"
2983-
"`Element.write` methods now have a *method* parameter that can be \"xml\" "
2984-
"(the default), \"html\", or \"text\". HTML mode will output empty elements "
2985-
"as ``<empty></empty>`` instead of ``<empty/>``, and text mode will skip over "
2986-
"elements and only output the text chunks. If you set the :attr:`~xml.etree."
2987-
"ElementTree.Element.tag` attribute of an element to ``None`` but leave its "
2988-
"children in place, the element will be omitted when the tree is written out, "
2989-
"so you don't need to do more extensive rearrangement to remove a single "
2990-
"element."
2983+
"`Element.write` methods now have a *method* parameter that can be "
2984+
"\"xml\" (the default), \"html\", or \"text\". HTML mode will output empty "
2985+
"elements as ``<empty></empty>`` instead of ``<empty/>``, and text mode will "
2986+
"skip over elements and only output the text chunks. If you set the :attr:"
2987+
"`~xml.etree.ElementTree.Element.tag` attribute of an element to ``None`` but "
2988+
"leave its children in place, the element will be omitted when the tree is "
2989+
"written out, so you don't need to do more extensive rearrangement to remove "
2990+
"a single element."
29912991
msgstr ""
29922992

29932993
#: ../../whatsnew/2.7.rst:2044

‎whatsnew/3.12.po

+6-4
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-11-18 00:15+0000\n"
9+
"POT-Creation-Date: 2025-02-05 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: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -3374,17 +3374,19 @@ msgid "``imp.get_magic()``"
33743374
msgstr "``imp.get_magic()``"
33753375

33763376
#: ../../whatsnew/3.12.rst:1470
3377-
msgid ":attr:`importlib.util.MAGIC_NUMBER`"
3377+
#, fuzzy
3378+
msgid ":const:`importlib.util.MAGIC_NUMBER`"
33783379
msgstr ":attr:`importlib.util.MAGIC_NUMBER`"
33793380

33803381
#: ../../whatsnew/3.12.rst:1471
33813382
msgid "``imp.get_suffixes()``"
33823383
msgstr "``imp.get_suffixes()``"
33833384

33843385
#: ../../whatsnew/3.12.rst:1471
3386+
#, fuzzy
33853387
msgid ""
3386-
":attr:`importlib.machinery.SOURCE_SUFFIXES`, :attr:`importlib.machinery."
3387-
"EXTENSION_SUFFIXES`, and :attr:`importlib.machinery.BYTECODE_SUFFIXES`"
3388+
":const:`importlib.machinery.SOURCE_SUFFIXES`, :const:`importlib.machinery."
3389+
"EXTENSION_SUFFIXES`, and :const:`importlib.machinery.BYTECODE_SUFFIXES`"
33883390
msgstr ""
33893391
":attr:`importlib.machinery.SOURCE_SUFFIXES`、:attr:`importlib.machinery."
33903392
"EXTENSION_SUFFIXES` 和 :attr:`importlib.machinery.BYTECODE_SUFFIXES`"

‎whatsnew/3.13.po

+3-3
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: 2025-01-28 00:14+0000\n"
9+
"POT-Creation-Date: 2025-02-05 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: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -549,7 +549,7 @@ msgstr ""
549549
#: ../../whatsnew/3.13.rst:336
550550
msgid ""
551551
"To check if the current interpreter supports free-threading, :option:`python "
552-
"-VV <-V>` and :attr:`sys.version` contain \"experimental free-threading "
552+
"-VV <-V>` and :data:`sys.version` contain \"experimental free-threading "
553553
"build\". The new :func:`!sys._is_gil_enabled` function can be used to check "
554554
"whether the GIL is actually disabled in the running process."
555555
msgstr ""
@@ -1616,7 +1616,7 @@ msgstr ""
16161616

16171617
#: ../../whatsnew/3.13.rst:1074
16181618
msgid ""
1619-
":func:`~os.posix_spawn` can now use the :attr:`~os.POSIX_SPAWN_CLOSEFROM` "
1619+
":func:`~os.posix_spawn` can now use the :const:`~os.POSIX_SPAWN_CLOSEFROM` "
16201620
"attribute in the *file_actions* parameter on platforms that support :c:func:"
16211621
"`!posix_spawn_file_actions_addclosefrom_np`. (Contributed by Jakub Kulik in :"
16221622
"gh:`113117`.)"

‎whatsnew/3.4.po

+2-2
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-11-26 00:14+0000\n"
9+
"POT-Creation-Date: 2025-02-05 00:13+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:20+0000\n"
1111
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1461,7 +1461,7 @@ msgstr ""
14611461

14621462
#: ../../whatsnew/3.4.rst:997
14631463
msgid ""
1464-
":mod:`importlib.util` now has a :data:`~importlib.util.MAGIC_NUMBER` "
1464+
":mod:`importlib.util` now has a :const:`~importlib.util.MAGIC_NUMBER` "
14651465
"attribute providing access to the bytecode version number. This replaces "
14661466
"the :func:`!get_magic` function in the deprecated :mod:`!imp` module. "
14671467
"(Contributed by Brett Cannon in :issue:`18192`.)"

0 commit comments

Comments
 (0)
Please sign in to comment.