11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2018 , Python Software Foundation
2+ # Copyright (C) 2001-2021 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44#
55# Translators:
66msgid ""
77msgstr ""
88"Project-Id-Version :Python 3.10\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2018-06 -2618:54+0800 \n "
10+ "POT-Creation-Date :2021-10 -2616: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
2626msgid ""
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**."
2830msgstr ""
2931
30- #: ../../c-api/apiabiversion.rst:11
32+ #: ../../c-api/apiabiversion.rst:13
3133msgid ""
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- "number in the following manner:"
34+ "See :ref:`stable` for a discussion of API and ABI stability across versions."
3535msgstr ""
3636
37- #: ../../c-api/apiabiversion.rst:16
38- msgid "Bytes "
37+ #: ../../c-api/apiabiversion.rst:17
38+ msgid "The ``3`` in ``3.4.1a2``. "
3939msgstr ""
4040
41- #: ../../c-api/apiabiversion.rst:16
42- msgid "Bits (big endian order) "
41+ #: ../../c-api/apiabiversion.rst:21
42+ msgid "The ``4`` in ``3.4.1a2``. "
4343msgstr ""
4444
45- #: ../../c-api/apiabiversion.rst:16
46- msgid "Meaning "
45+ #: ../../c-api/apiabiversion.rst:25
46+ msgid "The ``1`` in ``3.4.1a2``. "
4747msgstr ""
4848
49- #: ../../c-api/apiabiversion.rst:18
50- msgid "``1``"
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."
5153msgstr ""
5254
53- #: ../../c-api/apiabiversion.rst:18
54- msgid "``1-8`` "
55+ #: ../../c-api/apiabiversion.rst:35
56+ msgid "The ``2`` in ``3.4.1a2``. Zero for final releases. "
5557msgstr ""
5658
57- #: ../../c-api/apiabiversion.rst:18
58- msgid "``PY_MAJOR_VERSION`` (the ``3`` in``3.4.1a2``) "
59+ #: ../../c-api/apiabiversion.rst:39
60+ msgid "The Python version number encoded ina single integer. "
5961msgstr ""
6062
61- #: ../../c-api/apiabiversion.rst:21
62- msgid "``2``"
63+ #: ../../c-api/apiabiversion.rst:41
64+ msgid ""
65+ "The underlying version information can be found by treating it as a 32 bit "
66+ "number in the following manner:"
6367msgstr ""
6468
65- #: ../../c-api/apiabiversion.rst:21
66- msgid "``9-16`` "
69+ #: ../../c-api/apiabiversion.rst:45
70+ msgid "Bytes "
6771msgstr ""
6872
69- #: ../../c-api/apiabiversion.rst:21
70- msgid "``PY_MINOR_VERSION`` (the ``4`` in ``3.4.1a2`` )"
73+ #: ../../c-api/apiabiversion.rst:45
74+ msgid "Bits (big endian order )"
7175msgstr ""
7276
73- #: ../../c-api/apiabiversion.rst:24
74- msgid "``3`` "
77+ #: ../../c-api/apiabiversion.rst:45
78+ msgid "Meaning "
7579msgstr ""
7680
77- #: ../../c-api/apiabiversion.rst:24
78- msgid "``17-24 ``"
81+ #: ../../c-api/apiabiversion.rst:45
82+ msgid "Value for ``3.4.1a2 ``"
7983msgstr ""
8084
81- #: ../../c-api/apiabiversion.rst:24
82- msgid "``PY_MICRO_VERSION`` (the ``1`` in ``3.4.1a2``) "
83- msgstr ""
85+ #: ../../c-api/apiabiversion.rst:47
86+ msgid "1 "
87+ msgstr "1 "
8488
85- #: ../../c-api/apiabiversion.rst:27
86- msgid "``4`` "
87- msgstr ""
89+ #: ../../c-api/apiabiversion.rst:47
90+ msgid "1-8 "
91+ msgstr "1-8 "
8892
89- #: ../../c-api/apiabiversion.rst:27
90- msgid "``25-28 ``"
91- msgstr ""
93+ #: ../../c-api/apiabiversion.rst:47
94+ msgid "``PY_MAJOR_VERSION ``"
95+ msgstr "``PY_MAJOR_VERSION`` "
9296
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."
97- msgstr ""
97+ #: ../../c-api/apiabiversion.rst:47
98+ msgid "``0x03``"
99+ msgstr "``0x03``"
98100
99- #: ../../c-api/apiabiversion.rst:32
100- msgid "``29-32`` "
101- msgstr ""
101+ #: ../../c-api/apiabiversion.rst:49
102+ msgid "2 "
103+ msgstr "2 "
102104
103- #: ../../c-api/apiabiversion.rst:32
104- msgid ""
105- "``PY_RELEASE_SERIAL`` (the ``2`` in ``3.4.1a2``, zero for final releases)"
106- msgstr ""
105+ #: ../../c-api/apiabiversion.rst:49
106+ msgid "9-16"
107+ msgstr "9-16"
108+
109+ #: ../../c-api/apiabiversion.rst:49
110+ msgid "``PY_MINOR_VERSION``"
111+ msgstr "``PY_MINOR_VERSION``"
112+
113+ #: ../../c-api/apiabiversion.rst:49
114+ msgid "``0x04``"
115+ msgstr "``0x04``"
116+
117+ #: ../../c-api/apiabiversion.rst:51
118+ msgid "3"
119+ msgstr "3"
120+
121+ #: ../../c-api/apiabiversion.rst:51
122+ msgid "17-24"
123+ msgstr "17-24"
124+
125+ #: ../../c-api/apiabiversion.rst:51
126+ msgid "``PY_MICRO_VERSION``"
127+ msgstr "``PY_MICRO_VERSION``"
107128
108- #: ../../c-api/apiabiversion.rst:36
109- msgid "Thus ``3.4.1a2`` is hexversion ``0x030401a2``."
129+ #: ../../c-api/apiabiversion.rst:51
130+ msgid "``0x01``"
131+ msgstr "``0x01``"
132+
133+ #: ../../c-api/apiabiversion.rst:53
134+ msgid "4"
135+ msgstr "4"
136+
137+ #: ../../c-api/apiabiversion.rst:53
138+ msgid "25-28"
139+ msgstr "25-28"
140+
141+ #: ../../c-api/apiabiversion.rst:53
142+ msgid "``PY_RELEASE_LEVEL``"
143+ msgstr "``PY_RELEASE_LEVEL``"
144+
145+ #: ../../c-api/apiabiversion.rst:53
146+ msgid "``0xA``"
147+ msgstr "``0xA``"
148+
149+ #: ../../c-api/apiabiversion.rst:55
150+ msgid "29-32"
151+ msgstr "29-32"
152+
153+ #: ../../c-api/apiabiversion.rst:55
154+ msgid "``PY_RELEASE_SERIAL``"
155+ msgstr "``PY_RELEASE_SERIAL``"
156+
157+ #: ../../c-api/apiabiversion.rst:55
158+ msgid "``0x2``"
159+ msgstr "``0x2``"
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``."
110165msgstr ""
111166
112- #: ../../c-api/apiabiversion.rst:38
167+ #: ../../c-api/apiabiversion.rst:62
113168msgid "All the given macros are defined in :source:`Include/patchlevel.h`."
114169msgstr ""