Skip to content

Commit 41bde12

Browse files
sync with cpython 36971fd1
1 parent dc9a09e commit 41bde12

File tree

215 files changed

+32476
-21463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+32476
-21463
lines changed

bugs.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.10\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
16+
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
1717
"PO-Revision-Date: 2021-09-05 00:55+0800\n"
1818
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1919
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -112,9 +112,10 @@ msgid "Using the Python issue tracker"
112112
msgstr "使用 Python 問題追蹤系統"
113113

114114
#: ../../bugs.rst:43
115+
#, fuzzy
115116
msgid ""
116117
"Bug reports for Python itself should be submitted via the Python Bug Tracker "
117-
"(https://bugs.python.org/). The bug tracker offers a Web form which allows "
118+
"(https://bugs.python.org/). The bug tracker offers a web form which allows "
118119
"pertinent information to be entered and submitted to the developers."
119120
msgstr ""
120121
"對於 Python 本身的錯誤報告,應該透過 Python 錯誤追蹤系統 (https://bugs."

c-api/apiabiversion.po

Lines changed: 97 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
10+
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
1111
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -24,91 +24,146 @@ msgstr ""
2424

2525
#: ../../c-api/apiabiversion.rst:9
2626
msgid ""
27-
"``PY_VERSION_HEX`` is the Python version number encoded in a single integer."
27+
"CPython exposes its version number in the following macros. Note that these "
28+
"correspond to the version code is **built** with, not necessarily the "
29+
"version used at **run time**."
2830
msgstr ""
2931

30-
#: ../../c-api/apiabiversion.rst:11
32+
#: ../../c-api/apiabiversion.rst:13
3133
msgid ""
32-
"For example if the ``PY_VERSION_HEX`` is set to ``0x030401a2``, the "
33-
"underlying version information can be found by treating it as a 32 bit "
34+
"See :ref:`stable` for a discussion of API and ABI stability across versions."
35+
msgstr ""
36+
37+
#: ../../c-api/apiabiversion.rst:17
38+
msgid "The ``3`` in ``3.4.1a2``."
39+
msgstr ""
40+
41+
#: ../../c-api/apiabiversion.rst:21
42+
msgid "The ``4`` in ``3.4.1a2``."
43+
msgstr ""
44+
45+
#: ../../c-api/apiabiversion.rst:25
46+
msgid "The ``1`` in ``3.4.1a2``."
47+
msgstr ""
48+
49+
#: ../../c-api/apiabiversion.rst:29
50+
msgid ""
51+
"The ``a`` in ``3.4.1a2``. This can be ``0xA`` for alpha, ``0xB`` for beta, "
52+
"``0xC`` for release candidate or ``0xF`` for final."
53+
msgstr ""
54+
55+
#: ../../c-api/apiabiversion.rst:35
56+
msgid "The ``2`` in ``3.4.1a2``. Zero for final releases."
57+
msgstr ""
58+
59+
#: ../../c-api/apiabiversion.rst:39
60+
msgid "The Python version number encoded in a single integer."
61+
msgstr ""
62+
63+
#: ../../c-api/apiabiversion.rst:41
64+
msgid ""
65+
"The underlying version information can be found by treating it as a 32 bit "
3466
"number in the following manner:"
3567
msgstr ""
3668

37-
#: ../../c-api/apiabiversion.rst:16
69+
#: ../../c-api/apiabiversion.rst:45
3870
msgid "Bytes"
3971
msgstr ""
4072

41-
#: ../../c-api/apiabiversion.rst:16
73+
#: ../../c-api/apiabiversion.rst:45
4274
msgid "Bits (big endian order)"
4375
msgstr ""
4476

45-
#: ../../c-api/apiabiversion.rst:16
77+
#: ../../c-api/apiabiversion.rst:45
4678
msgid "Meaning"
4779
msgstr ""
4880

49-
#: ../../c-api/apiabiversion.rst:18
50-
msgid "``1``"
81+
#: ../../c-api/apiabiversion.rst:45
82+
msgid "Value for ``3.4.1a2``"
5183
msgstr ""
5284

53-
#: ../../c-api/apiabiversion.rst:18
54-
msgid "``1-8``"
85+
#: ../../c-api/apiabiversion.rst:47
86+
msgid "1"
5587
msgstr ""
5688

57-
#: ../../c-api/apiabiversion.rst:18
58-
msgid "``PY_MAJOR_VERSION`` (the ``3`` in ``3.4.1a2``)"
89+
#: ../../c-api/apiabiversion.rst:47
90+
msgid "1-8"
5991
msgstr ""
6092

61-
#: ../../c-api/apiabiversion.rst:21
62-
msgid "``2``"
93+
#: ../../c-api/apiabiversion.rst:47
94+
msgid "``PY_MAJOR_VERSION``"
6395
msgstr ""
6496

65-
#: ../../c-api/apiabiversion.rst:21
66-
msgid "``9-16``"
97+
#: ../../c-api/apiabiversion.rst:47
98+
msgid "``0x03``"
6799
msgstr ""
68100

69-
#: ../../c-api/apiabiversion.rst:21
70-
msgid "``PY_MINOR_VERSION`` (the ``4`` in ``3.4.1a2``)"
101+
#: ../../c-api/apiabiversion.rst:49
102+
msgid "2"
71103
msgstr ""
72104

73-
#: ../../c-api/apiabiversion.rst:24
74-
msgid "``3``"
105+
#: ../../c-api/apiabiversion.rst:49
106+
msgid "9-16"
75107
msgstr ""
76108

77-
#: ../../c-api/apiabiversion.rst:24
78-
msgid "``17-24``"
109+
#: ../../c-api/apiabiversion.rst:49
110+
msgid "``PY_MINOR_VERSION``"
79111
msgstr ""
80112

81-
#: ../../c-api/apiabiversion.rst:24
82-
msgid "``PY_MICRO_VERSION`` (the ``1`` in ``3.4.1a2``)"
113+
#: ../../c-api/apiabiversion.rst:49
114+
msgid "``0x04``"
83115
msgstr ""
84116

85-
#: ../../c-api/apiabiversion.rst:27
86-
msgid "``4``"
117+
#: ../../c-api/apiabiversion.rst:51
118+
msgid "3"
87119
msgstr ""
88120

89-
#: ../../c-api/apiabiversion.rst:27
90-
msgid "``25-28``"
121+
#: ../../c-api/apiabiversion.rst:51
122+
msgid "17-24"
91123
msgstr ""
92124

93-
#: ../../c-api/apiabiversion.rst:27
94-
msgid ""
95-
"``PY_RELEASE_LEVEL`` (``0xA`` for alpha, ``0xB`` for beta, ``0xC`` for "
96-
"release candidate and ``0xF`` for final), in this case it is alpha."
125+
#: ../../c-api/apiabiversion.rst:51
126+
msgid "``PY_MICRO_VERSION``"
97127
msgstr ""
98128

99-
#: ../../c-api/apiabiversion.rst:32
100-
msgid "``29-32``"
129+
#: ../../c-api/apiabiversion.rst:51
130+
msgid "``0x01``"
101131
msgstr ""
102132

103-
#: ../../c-api/apiabiversion.rst:32
104-
msgid ""
105-
"``PY_RELEASE_SERIAL`` (the ``2`` in ``3.4.1a2``, zero for final releases)"
133+
#: ../../c-api/apiabiversion.rst:53
134+
msgid "4"
106135
msgstr ""
107136

108-
#: ../../c-api/apiabiversion.rst:36
109-
msgid "Thus ``3.4.1a2`` is hexversion ``0x030401a2``."
137+
#: ../../c-api/apiabiversion.rst:53
138+
msgid "25-28"
139+
msgstr ""
140+
141+
#: ../../c-api/apiabiversion.rst:53
142+
msgid "``PY_RELEASE_LEVEL``"
143+
msgstr ""
144+
145+
#: ../../c-api/apiabiversion.rst:53
146+
msgid "``0xA``"
147+
msgstr ""
148+
149+
#: ../../c-api/apiabiversion.rst:55
150+
msgid "29-32"
151+
msgstr ""
152+
153+
#: ../../c-api/apiabiversion.rst:55
154+
msgid "``PY_RELEASE_SERIAL``"
155+
msgstr ""
156+
157+
#: ../../c-api/apiabiversion.rst:55
158+
msgid "``0x2``"
159+
msgstr ""
160+
161+
#: ../../c-api/apiabiversion.rst:58
162+
msgid ""
163+
"Thus ``3.4.1a2`` is hexversion ``0x030401a2`` and ``3.10.0`` is hexversion "
164+
"``0x030a00f0``."
110165
msgstr ""
111166

112-
#: ../../c-api/apiabiversion.rst:38
167+
#: ../../c-api/apiabiversion.rst:62
113168
msgid "All the given macros are defined in :source:`Include/patchlevel.h`."
114169
msgstr ""

0 commit comments

Comments
 (0)