@@ -629,25 +629,29 @@ msgid ""
629629":data:`errors.messages <xml.parsers.expat.errors.messages>` dictionary maps "
630630"these error numbers to Expat's error messages. For example::"
631631msgstr ""
632+ "Expat 对于指定错误的内部错误号。 :data:`errors.messages "
633+ "<xml.parsers.expat.errors.messages>` 字典会将这些错误号映射到 Expat 的错误消息。 例如::"
632634
633635#: ../../library/pyexpat.rst:509
634636msgid ""
635637"The :mod:`~xml.parsers.expat.errors` module also provides error message "
636638"constants and a dictionary :data:`~xml.parsers.expat.errors.codes` mapping "
637639"these messages back to the error codes, see below."
638640msgstr ""
641+ ":mod:`~xml.parsers.expat.errors` 模块也提供了一些错误消息常量和一个将这些消息映射回错误码的字典 "
642+ ":data:`~xml.parsers.expat.errors.codes`,参见下文。"
639643
640644#: ../../library/pyexpat.rst:516
641645msgid ""
642646"Line number on which the error was detected. The first line is numbered "
643647"``1``."
644- msgstr ""
648+ msgstr "检测到错误所在的行号。 首行的行号为 ``1``。 "
645649
646650#: ../../library/pyexpat.rst:521
647651msgid ""
648652"Character offset into the line where the error occurred. The first column "
649653"is numbered ``0``."
650- msgstr ""
654+ msgstr "错误发生在行中的字符偏移量。 首列的列号为 ``0``。 "
651655
652656#: ../../library/pyexpat.rst:528
653657msgid "Example"
@@ -657,7 +661,7 @@ msgstr "示例"
657661msgid ""
658662"The following program defines three handlers that just print out their "
659663"arguments. ::"
660- msgstr ""
664+ msgstr "以下程序定义了三个处理句柄,会简单地打印出它们的参数。:: "
661665
662666#: ../../library/pyexpat.rst:554
663667msgid "The output from this program is::"
0 commit comments