File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -638,18 +638,20 @@ msgid ""
638638"constants and a dictionary :data:`~xml.parsers.expat.errors.codes` mapping "
639639"these messages back to the error codes, see below."
640640msgstr ""
641+ ":mod:`~xml.parsers.expat.errors` 模块也提供了一些错误消息常量和一个将这些消息映射回错误码的字典 "
642+ ":data:`~xml.parsers.expat.errors.codes`,参见下文。"
641643
642644#: ../../library/pyexpat.rst:516
643645msgid ""
644646"Line number on which the error was detected. The first line is numbered "
645647"``1``."
646- msgstr ""
648+ msgstr "检测到错误所在的行号。 首行的行号为 ``1``。 "
647649
648650#: ../../library/pyexpat.rst:521
649651msgid ""
650652"Character offset into the line where the error occurred. The first column "
651653"is numbered ``0``."
652- msgstr ""
654+ msgstr "错误发生在行中的字符偏移量。 首列的列号为 ``0``。 "
653655
654656#: ../../library/pyexpat.rst:528
655657msgid "Example"
@@ -659,7 +661,7 @@ msgstr "示例"
659661msgid ""
660662"The following program defines three handlers that just print out their "
661663"arguments. ::"
662- msgstr ""
664+ msgstr "以下程序定义了三个处理句柄,会简单地打印出它们的参数。:: "
663665
664666#: ../../library/pyexpat.rst:554
665667msgid "The output from this program is::"
You can’t perform that action at this time.
0 commit comments