88# Arisaka97 <[email protected] >, 202199# ppcfish <[email protected] >, 20211010# jaystone776 <[email protected] >, 202111- # Freesand Leo <[email protected] >, 20211211# Dai Xu <[email protected] >, 202112+ # Freesand Leo <[email protected] >, 20211313#
1414#, fuzzy
1515msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818"Report-Msgid-Bugs-To : \n "
1919"POT-Creation-Date : 2021-08-06 13:13+0000\n "
2020"PO-Revision-Date : 2021-06-28 01:50+0000\n "
21- "Last-Translator : Dai Xu <daixu61@hotmail .com>, 2021\n "
21+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2021\n "
2222"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2323"MIME-Version : 1.0\n "
2424"Content-Type : text/plain; charset=UTF-8\n "
@@ -615,13 +615,13 @@ msgstr ""
615615msgid ""
616616"The *module* field matches the (fully-qualified) module name; this match is "
617617"case-sensitive."
618- msgstr ""
618+ msgstr "*module* 字段匹配的是(完全限定)模块名;区分大小写。 "
619619
620620#: ../../using/cmdline.rst:423
621621msgid ""
622622"The *lineno* field matches the line number, where zero matches all line "
623623"numbers and is thus equivalent to an omitted line number."
624- msgstr ""
624+ msgstr "*lineno* 字段匹配行号,其中 0 匹配所有行号,相当于省略了行号。 "
625625
626626#: ../../using/cmdline.rst:426
627627msgid ""
@@ -630,6 +630,8 @@ msgid ""
630630":option:`-W` options are ignored (though, a warning message is printed about"
631631" invalid options when the first warning is issued)."
632632msgstr ""
633+ "可以给出多个 :option:`-W` 选项;当某条警告信息匹配上多个选项时,将执行最后一个匹配项的操作。非法 :option:`-W` "
634+ "选项将被忽略(不过,在触发第一条警告时,会打印出一条无效选项的警告信息)。"
633635
634636#: ../../using/cmdline.rst:431
635637msgid ""
@@ -638,6 +640,8 @@ msgid ""
638640":mod:`warnings` module. For example, the :func:`warnings.filterwarnings` "
639641"function can be used to use a regular expression on the warning message."
640642msgstr ""
643+ "警告信息还可以用 :envvar:`PYTHONWARNINGS` 环境变量来控制,也可以在 Python 程序中用 :mod:`warnings` "
644+ "模块进行控制。例如, :func:`warnings.filterwarnings` 函数可对警告信息使用正则表达式。"
641645
642646#: ../../using/cmdline.rst:436 ../../using/cmdline.rst:744
643647msgid ""
@@ -668,6 +672,8 @@ msgid ""
668672"interactive interpreter. This only works on :ref:`debug builds <debug-"
669673"build>`."
670674msgstr ""
675+ "``-X showrefcount`` 可在程序结束时或在交互式解释器每条语句后,输出总的引用计数和使用的内存块数。这只适用于 :ref:`调试版本 "
676+ "<debug-build>`。"
671677
672678#: ../../using/cmdline.rst:455
673679msgid ""
@@ -705,6 +711,8 @@ msgid ""
705711"explicitly disables :ref:`Python UTF-8 Mode <utf8-mode>` (even when it would"
706712" otherwise activate automatically)."
707713msgstr ""
714+ "``-X utf8`` 启用 :ref:`Python UTF-8 模式 <utf8-mode>`。 ``-X utf8=0`` 显式禁用 "
715+ ":ref:`Python UTF-8 模式 <utf8-mode>` (即便已自动启用)。"
708716
709717#: ../../using/cmdline.rst:471
710718msgid ""
@@ -721,6 +729,8 @@ msgid ""
721729"locale-specific default encoding is used for opening files. See also "
722730":envvar:`PYTHONWARNDEFAULTENCODING`."
723731msgstr ""
732+ " 当采用某地区默认编码打开文件时,``-X warn_default_encoding`` 将引发一条 "
733+ ":class:`EncodingWarning`。参见 :envvar:`PYTHONWARNDEFAULTENCODING`。"
724734
725735#: ../../using/cmdline.rst:478
726736msgid ""
@@ -768,11 +778,11 @@ msgstr "The ``-X showalloccount`` 选项已被移除。"
768778
769779#: ../../using/cmdline.rst:506
770780msgid "The ``-X warn_default_encoding`` option."
771- msgstr ""
781+ msgstr "``-X warn_default_encoding`` 选项。 "
772782
773783#: ../../using/cmdline.rst:510
774784msgid "The ``-X oldparser`` option."
775- msgstr "The ``-X oldparser`` 选项。"
785+ msgstr " ``-X oldparser`` 选项。"
776786
777787#: ../../using/cmdline.rst:514
778788msgid "Options you shouldn't use"
@@ -1138,7 +1148,7 @@ msgstr ""
11381148
11391149#: ../../using/cmdline.rst:802
11401150msgid "Install :ref:`debug hooks <pymem-debug-hooks>`:"
1141- msgstr ""
1151+ msgstr "安装 :ref:`调试钩子 <pymem-debug-hooks>` : "
11421152
11431153#: ../../using/cmdline.rst:804
11441154msgid ""
@@ -1189,6 +1199,8 @@ msgid ""
11891199"'replace', respectively. Otherwise, the new defaults 'utf-8' and "
11901200"'surrogatepass' are used."
11911201msgstr ""
1202+ "如果设为非空字符串,默认的 :term:`filesystem encoding and error handler` 模式将恢复到 3.6 "
1203+ "版本之前的值 “mbcs”和“replace”。 否则,将采用新的默认值“utf-8”和“surrogatepass”。"
11921204
11931205#: ../../using/cmdline.rst:837
11941206msgid ""
@@ -1323,11 +1335,11 @@ msgstr ""
13231335
13241336#: ../../using/cmdline.rst:921
13251337msgid "If set to ``1``, enable the :ref:`Python UTF-8 Mode <utf8-mode>`."
1326- msgstr ""
1338+ msgstr "如果设为 ``1`` ,将会启用 :ref:`Python UTF-8 模式 <utf8-mode>`。 "
13271339
13281340#: ../../using/cmdline.rst:923
13291341msgid "If set to ``0``, disable the :ref:`Python UTF-8 Mode <utf8-mode>`."
1330- msgstr ""
1342+ msgstr "若设为 ``0`` ,则会禁用 :ref:`Python UTF-8 模式 <utf8-mode>` 。 "
13311343
13321344#: ../../using/cmdline.rst:925
13331345msgid ""
@@ -1339,7 +1351,7 @@ msgstr "设置任何其他非空字符串会在解释器初始化期间导致错
13391351msgid ""
13401352"If this environment variable is set to a non-empty string, issue a "
13411353":class:`EncodingWarning` when the locale-specific default encoding is used."
1342- msgstr ""
1354+ msgstr "如果该环境变量设为一个非空字符串,则在采用某地区默认编码时,将会引发一条 :class:`EncodingWarning` 。 "
13431355
13441356#: ../../using/cmdline.rst:935
13451357msgid "See :ref:`io-encoding-warning` for details."
@@ -1351,11 +1363,11 @@ msgstr "调试模式变量"
13511363
13521364#: ../../using/cmdline.rst:945
13531365msgid "If set, Python will print threading debug info into stdout."
1354- msgstr ""
1366+ msgstr "若设置此变量,Python 将会把线程调试信息打印到 stdout。 "
13551367
13561368#: ../../using/cmdline.rst:947
13571369msgid "Need a :ref:`debug build of Python <debug-build>`."
1358- msgstr ""
1370+ msgstr "需要 :ref:`Python 的调试版本 <debug-build>`。 "
13591371
13601372#: ../../using/cmdline.rst:954
13611373msgid ""
@@ -1366,4 +1378,4 @@ msgstr "如果设置,Python在关闭解释器,及转储对象和引用计数
13661378#: ../../using/cmdline.rst:957
13671379msgid ""
13681380"Need Python configured with the :option:`--with-trace-refs` build option."
1369- msgstr ""
1381+ msgstr "需用 :option:`--with-trace-refs` 编译选项来配置 Python。 "
0 commit comments