File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -551,6 +551,8 @@ msgid ""
551551"18 months since 1991, and this seems likely to continue. As of version 3.9,"
552552" Python will have a major new release every 12 months (:pep:`602`)."
553553msgstr ""
554+ "非常稳定。 自 1991 年起大约每隔 6 到 18 个月就会推出新的稳定发布版,这种状态看来还还持续。 从 3.9 版开始,Python 将会每隔 "
555+ "12 个月推出一个新的主要发布版 (:pep:`602`)。"
554556
555557#: ../../faq/general.rst:302
556558msgid ""
@@ -586,7 +588,7 @@ msgstr "有多少人在使用 Python?"
586588msgid ""
587589"There are probably millions of users, though it's difficult to obtain an "
588590"exact count."
589- msgstr ""
591+ msgstr "使用者应该数以百万计,但很难获得一个精确的数字。 "
590592
591593#: ../../faq/general.rst:321
592594msgid ""
Original file line number Diff line number Diff line change @@ -1750,12 +1750,14 @@ msgid ""
17501750"default value for the *level* parameter, but will have to explicitly supply "
17511751"a suitable value."
17521752msgstr ""
1753+ "请注意如果你定义了任何高于 ``CRITICAL`` 的自定义日志级别(并不建议这样做),你就将无法沿用 *level* "
1754+ "形参的默认值,而必须显式地提供适当的值。"
17531755
17541756#: ../../library/logging.rst:1091
17551757msgid ""
17561758"The *level* parameter was defaulted to level ``CRITICAL``. See Issue #28524 "
17571759"for more information about this change."
1758- msgstr ""
1760+ msgstr "*level* 形参默认为 ``CRITICAL`` 级别。 请参阅问题 #28524 了解此项改变的更多细节。 "
17591761
17601762#: ../../library/logging.rst:1097
17611763msgid ""
@@ -1766,12 +1768,15 @@ msgid ""
17661768"must be registered using this function, levels should be positive integers "
17671769"and they should increase in increasing order of severity."
17681770msgstr ""
1771+ "在一个内部字典中关联级别 *level* 与文本 *levelName*,该字典会被用来将数字级别映射为文本表示形式,例如在 "
1772+ ":class:`Formatter` 格式化消息的时候。 此函数也可被用来定义你自己的级别。 "
1773+ "唯一的限制是所用的所有级别必须使用此函数来注册,级别值必须为正整数并且它们应当按严重程度递增顺序逐一递增。"
17691774
17701775#: ../../library/logging.rst:1104
17711776msgid ""
17721777"If you are thinking of defining your own levels, please see the section on "
17731778":ref:`custom-levels`."
1774- msgstr ""
1779+ msgstr "如果你考虑要定义你自己的级别,请参阅 :ref:`custom-levels` 部分。 "
17751780
17761781#: ../../library/logging.rst:1109
17771782msgid ""
You can’t perform that action at this time.
0 commit comments