1212# ppcfish <[email protected] >, 202013131414# 1lin24 <[email protected] >, 202015- # Freesand Leo <[email protected] >, 20201615# Sean Chao <[email protected] >, 20201716# Arisaka97 <[email protected] >, 202017+ # Freesand Leo <[email protected] >, 20201818#
1919#, fuzzy
2020msgid ""
@@ -23,7 +23,7 @@ msgstr ""
2323"Report-Msgid-Bugs-To : \n "
2424"POT-Creation-Date : 2020-02-09 12:40+0000\n "
2525"PO-Revision-Date : 2020-05-30 12:11+0000\n "
26- "Last-Translator : Arisaka97 <solitaire2312@gmail .com>, 2020\n "
26+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2020\n "
2727"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2828"MIME-Version : 1.0\n "
2929"Content-Type : text/plain; charset=UTF-8\n "
@@ -2534,12 +2534,14 @@ msgid ""
25342534"{object!r}'``; use \" Exception ignored in\" error message if *err_msg* is "
25352535"``None``."
25362536msgstr ""
2537+ "默认的钩子程序会将 *err_msg* 和 *object* 格式化为: ``f'{err_msg}: {object!r}'``;如果 "
2538+ "*err_msg* 为 ``None`` 则采用 \" Exception ignored in\" 错误信息。"
25372539
25382540#: ../../library/sys.rst:1569
25392541msgid ""
25402542":func:`sys.unraisablehook` can be overridden to control how unraisable "
25412543"exceptions are handled."
2542- msgstr ""
2544+ msgstr "要改变无法抛出的异常的处理过程,可以重写 :func:`sys.unraisablehook`。 "
25432545
25442546#: ../../library/sys.rst:1572
25452547msgid ""
@@ -2554,16 +2556,19 @@ msgid ""
25542556"object which is being finalized. Avoid storing *object* after the custom "
25552557"hook completes to avoid resurrecting objects."
25562558msgstr ""
2559+ "如果一个 *object* 正在被销毁,那么使用自定义的钩子储存该对象可能会将其复活。请在自定义钩子生效后避免储存 *object*,以避免对象的复活。"
25572560
25582561#: ../../library/sys.rst:1580
25592562msgid "See also :func:`excepthook` which handles uncaught exceptions."
2560- msgstr ""
2563+ msgstr "另请参阅 :func:`excepthook`,它处理未捕获的异常。 "
25612564
25622565#: ../../library/sys.rstNone
25632566msgid ""
25642567"Raises an :ref:`auditing event <auditing>` ``sys.unraisablehook`` with "
25652568"arguments ``hook``, ``unraisable``."
25662569msgstr ""
2570+ "Raises an :ref:`auditing event <auditing>` ``sys.unraisablehook`` with "
2571+ "arguments ``hook``, ``unraisable``."
25672572
25682573#: ../../library/sys.rst:1584
25692574msgid ""
@@ -2572,6 +2577,8 @@ msgid ""
25722577"``unraisable`` object is the same as what will be passed to the hook. If no "
25732578"hook has been set, ``hook`` may be ``None``."
25742579msgstr ""
2580+ "当发生无法处理的异常时,将引发一个审计事件 ``sys.unraisablehook``,附带参数 ``hook``、``unraisable``。其中"
2581+ " ``unraisable`` 对象与传递给钩子的对象相同。如果没有设置钩子,那么 ``hook`` 可能是 ``None``。"
25752582
25762583#: ../../library/sys.rst:1593
25772584msgid ""
@@ -2581,6 +2588,8 @@ msgid ""
25812588"version information out of it, rather, use :data:`version_info` and the "
25822589"functions provided by the :mod:`platform` module."
25832590msgstr ""
2591+ "一个包含 Python 解释器版本号加编译版本号以及所用编译器等额外信息的字符串。 此字符串会在交互式解释器启动时显示。 "
2592+ "请不要从中提取版本信息,而应当使用 :data:`version_info` 以及 :mod:`platform` 模块所提供的函数。"
25842593
25852594#: ../../library/sys.rst:1602
25862595msgid ""
@@ -2598,17 +2607,22 @@ msgid ""
25982607"also be accessed by name, so ``sys.version_info[0]`` is equivalent to "
25992608"``sys.version_info.major`` and so on."
26002609msgstr ""
2610+ "一个包含版本号五部分的元组: *major*, *minor*, *micro*, *releaselevel* 和 *serial*。 除 "
2611+ "*releaselevel* 外的所有值均为整数;发布级别值则为 ``'alpha'``, ``'beta'``, ``'candidate'`` 或 "
2612+ "``'final'``。 对应于 Python 版本 2.0 的 ``version_info`` 值为 ``(2, 0, 0, 'final', "
2613+ "0)``。 这些部分也可按名称访问,因此 ``sys.version_info[0]`` 就等价于 "
2614+ "``sys.version_info.major``,依此类推。"
26012615
26022616#: ../../library/sys.rst:1616
26032617msgid "Added named component attributes."
2604- msgstr ""
2618+ msgstr "增加了以名称表示的各部分属性。 "
26052619
26062620#: ../../library/sys.rst:1621
26072621msgid ""
26082622"This is an implementation detail of the warnings framework; do not modify "
26092623"this value. Refer to the :mod:`warnings` module for more information on the"
26102624" warnings framework."
2611- msgstr ""
2625+ msgstr "这是警告框架的一个实现细节;请不要修改此值。 有关警告框架的更多信息请参阅 :mod:`warnings` 模块。 "
26122626
26132627#: ../../library/sys.rst:1628
26142628msgid ""
@@ -2635,11 +2649,13 @@ msgstr ""
26352649
26362650#: ../../library/sys.rst:1663
26372651msgid "Citations"
2638- msgstr ""
2652+ msgstr "引用 "
26392653
26402654#: ../../library/sys.rst:1664
26412655msgid ""
26422656"ISO/IEC 9899:1999. \" Programming languages -- C.\" A public draft of this "
26432657"standard is available at http://www.open-"
26442658"std.org/jtc1/sc22/wg14/www/docs/n1256.pdf\\ ."
26452659msgstr ""
2660+ "ISO/IEC 9899:1999. \" Programming languages -- C.\" 该标准的公开草案可从 http://www"
2661+ ".open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf\\ 获得。"
0 commit comments