@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version :Python 3.14\n "
1515"Report-Msgid-Bugs-To :\n "
16- "POT-Creation-Date :2025-10-25 14:12 +0000\n "
16+ "POT-Creation-Date :2025-11-01 14:13 +0000\n "
1717"PO-Revision-Date :2025-09-16 00:02+0000\n "
1818"Last-Translator :Freesand Leo <yuqinju@163.com>, 2025\n "
1919"Language-Team :Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1676,6 +1676,10 @@ msgid ""
16761676"``-Werror -Wignore::SyntaxWarning`` as CLI options, or setting "
16771677"``PYTHONWARNINGS=error,ignore::SyntaxWarning``)."
16781678msgstr ""
1679+ "在不方便修改的情况下(例如由于代码语法检查导致警告的冗余),可以使用 :ref:`警告过滤器 <warning-filter>` 通过添加 "
1680+ "``ignore::SyntaxWarning`` 作为过滤器来关闭所有语法警告。 这可以配合一个将其他警告转换为错误的过滤器来指明(例如,传递 "
1681+ "``-Werror -Wignore::SyntaxWarning`` 作为 CLI 选项,或者设置 "
1682+ "``PYTHONWARNINGS=error,ignore::SyntaxWarning`` 等)。"
16791683
16801684#: ../../whatsnew/3.14.rst:949
16811685msgid ""
@@ -1684,6 +1688,8 @@ msgid ""
16841688"is adjusted. Code that is compiled prior to the filter adjustment (for "
16851689"example, when a module is imported) will still emit the syntax warning."
16861690msgstr ""
1691+ "请注意在运行时使用 :mod:`warnings` 模块应用这样的过滤器仅会屏蔽在过滤器调整 *之后* 编译的代码中的警告。 "
1692+ "在过滤器调整之前编译的代码(例如,当模块被导入时)仍然会发出语法警告。"
16871693
16881694#: ../../whatsnew/3.14.rst:954
16891695msgid "(Contributed by Irit Katriel in :gh:`130080`.)"