77# cdarlint <[email protected] >, 202088# Shengjing Zhu <[email protected] >, 202099# ww song <[email protected] >, 202010- # Freesand Leo <[email protected] >, 202011101211# Trim21 <[email protected] >, 20201312# ppcfish <[email protected] >, 202014131514# 1lin24 <[email protected] >, 20201615# Arisaka97 <[email protected] >, 202016+ # Freesand Leo <[email protected] >, 20201717#
1818#, fuzzy
1919msgid ""
@@ -22,7 +22,7 @@ msgstr ""
2222"Report-Msgid-Bugs-To : \n "
2323"POT-Creation-Date : 2020-02-09 12:40+0000\n "
2424"PO-Revision-Date : 2020-05-30 12:11+0000\n "
25- "Last-Translator : Arisaka97 <solitaire2312@gmail .com>, 2020\n "
25+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2020\n "
2626"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2727"MIME-Version : 1.0\n "
2828"Content-Type : text/plain; charset=UTF-8\n "
@@ -1415,21 +1415,21 @@ msgstr ""
14151415
14161416#: ../../library/sys.rst:863
14171417msgid "More details of ``hexversion`` can be found at :ref:`apiabiversion`."
1418- msgstr ""
1418+ msgstr "关于 ``hexversion`` 的更多信息可以在 :ref:`apiabiversion` 中找到。 "
14191419
14201420#: ../../library/sys.rst:868
14211421msgid ""
14221422"An object containing information about the implementation of the currently "
14231423"running Python interpreter. The following attributes are required to exist "
14241424"in all Python implementations."
1425- msgstr ""
1425+ msgstr "一个对象,该对象包含当前运行的 Python 解释器的实现信息。所有 Python 实现中都必须存在下列属性。 "
14261426
14271427#: ../../library/sys.rst:872
14281428msgid ""
14291429"*name* is the implementation's identifier, e.g. ``'cpython'``. The actual "
14301430"string is defined by the Python implementation, but it is guaranteed to be "
14311431"lower case."
1432- msgstr ""
1432+ msgstr "*name* 是当前实现的标识符,如 ``'cpython'``。实际的字符串由 Python 实现定义,但保证是小写字母。 "
14331433
14341434#: ../../library/sys.rst:876
14351435msgid ""
@@ -1442,12 +1442,17 @@ msgid ""
14421442"would be ``sys.version_info(2, 7, 2, 'final', 0)``. For CPython they are "
14431443"the same value, since it is the reference implementation."
14441444msgstr ""
1445+ "*version* 是一个具名元组,格式与 :data:`sys.version_info` 相同。它表示 Python *实现* 的版本。 另一个(由"
1446+ " ``sys.version_info`` 表示)是当前解释器遵循的相应 Python *语言* 的版本,两者具有不同的含义。 例如,对于 PyPy "
1447+ "1.8,``sys.implementation.version`` 可能是 ``sys.version_info(1, 8, 0, 'final', "
1448+ "0)``,而 ``sys.version_info`` 则是 ``sys.version_info(2, 7, 2, 'final', 0)``。对于 "
1449+ "CPython 而言两个值是相同的,因为它是参考实现。"
14451450
14461451#: ../../library/sys.rst:886
14471452msgid ""
14481453"*hexversion* is the implementation version in hexadecimal format, like "
14491454":data:`sys.hexversion`."
1450- msgstr ""
1455+ msgstr "*hexversion* 是十六进制的实现版本,类似于 :data:`sys.hexversion`。 "
14511456
14521457#: ../../library/sys.rst:889
14531458msgid ""
@@ -1457,6 +1462,9 @@ msgid ""
14571462" implementation may use some other value if appropriate. If ``cache_tag`` "
14581463"is set to ``None``, it indicates that module caching should be disabled."
14591464msgstr ""
1465+ "*cache_tag* 是导入机制使用的标记,用于已缓存模块的文件名。按照惯例,它将由实现的名称和版本组成,如 "
1466+ "``'cpython-33'``。但如果合适,Python 实现可以使用其他值。如果 ``cache_tag`` 被置为 "
1467+ "``None``,表示模块缓存已禁用。"
14601468
14611469#: ../../library/sys.rst:896
14621470msgid ""
@@ -1467,18 +1475,21 @@ msgid ""
14671475"nor between implementation versions. (It may change between Python language"
14681476" versions, however.) See :pep:`421` for more information."
14691477msgstr ""
1478+ ":data:`sys.implementation` 可能包含相应 Python "
1479+ "实现的其他属性。这些非标准属性必须以下划线开头,此处不详细阐述。无论其内容如何,:data:`sys.implementation` "
1480+ "在解释器运行期间或不同实现版本之间都不会更改。(但是不同 Python 语言版本间可能会不同。)详情请参阅 :pep:`421`。"
14701481
14711482#: ../../library/sys.rst:907
14721483msgid ""
14731484"The addition of new required attributes must go through the normal PEP "
14741485"process. See :pep:`421` for more information."
1475- msgstr ""
1486+ msgstr "新的必要属性的添加必须经过常规的 PEP 过程。详情请参阅 :pep:`421`。 "
14761487
14771488#: ../../library/sys.rst:912
14781489msgid ""
14791490"A :term:`named tuple` that holds information about Python's internal "
14801491"representation of integers. The attributes are read only."
1481- msgstr ""
1492+ msgstr "一个 :term:`具名元组 <named tuple>`,包含 Python 内部整数表示形式的信息。这些属性是只读的。 "
14821493
14831494#: ../../library/sys.rst:918 ../../library/sys.rst:1519
14841495msgid "Attribute"
@@ -1496,7 +1507,7 @@ msgstr ":const:`bits_per_digit`"
14961507msgid ""
14971508"number of bits held in each digit. Python integers are stored internally in"
14981509" base ``2**int_info.bits_per_digit``"
1499- msgstr ""
1510+ msgstr "每个数字占有的位数。Python 内部将整数存储在基底 ``2**int_info.bits_per_digit`` "
15001511
15011512#: ../../library/sys.rst:924
15021513msgid ":const:`sizeof_digit`"
@@ -1520,6 +1531,7 @@ msgid ""
15201531"Raises an :ref:`auditing event <auditing>` ``cpython.run_interactivehook`` "
15211532"with argument ``hook``."
15221533msgstr ""
1534+ "引发一个 :ref:`审计事件 <auditing>` ``cpython.run_interactivehook``,附带参数 ``hook``。"
15231535
15241536#: ../../library/sys.rst:941
15251537msgid ""
0 commit comments