File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -591,6 +591,9 @@ msgid ""
591591"identifier is not given, *publicId* will be ``None``. The *context* value "
592592"is opaque and should only be used as described below."
593593msgstr ""
594+ "为对外部实体的引用执行调用。 *base* 为当前的基准,由之前对 :meth:`SetBase` 的调用设置。 公有和系统标识符 *systemId*"
595+ " 和 *publicId* 如果给出则圴为字符串;如果公有标识符未给出,则 *publicId* 将为 ``None``。 *context* "
596+ "是仅根据以下说明来使用的不透明值。"
594597
595598#: ../../library/pyexpat.rst:472
596599msgid ""
@@ -602,20 +605,23 @@ msgid ""
602605":const:`XML_ERROR_EXTERNAL_ENTITY_HANDLING` error, otherwise parsing will "
603606"continue."
604607msgstr ""
608+ "对于要解析的外部实体,这个处理句柄必须被实现。 它负责使用 ``ExternalEntityParserCreate(context)`` "
609+ "来创建子解析器,通过适当的回调将其初始化,并对实体进行解析。 这个处理句柄应当返回一个整数;如果它返回 ``0``,则解析器将引发 "
610+ ":const:`XML_ERROR_EXTERNAL_ENTITY_HANDLING` 错误,否则解析将会继续。"
605611
606612#: ../../library/pyexpat.rst:480
607613msgid ""
608614"If this handler is not provided, external entities are reported by the "
609615":attr:`DefaultHandler` callback, if provided."
610- msgstr ""
616+ msgstr "如果未提供这个处理句柄,外部实体会由 :attr:`DefaultHandler` 回调来报告,如果提供了该回调的话。 "
611617
612618#: ../../library/pyexpat.rst:487
613619msgid "ExpatError Exceptions"
614- msgstr ""
620+ msgstr "ExpatError 异常 "
615621
616622#: ../../library/pyexpat.rst:492
617623msgid ":exc:`ExpatError` exceptions have a number of interesting attributes:"
618- msgstr ""
624+ msgstr ":exc:`ExpatError` 异常包含几个有趣的属性: "
619625
620626#: ../../library/pyexpat.rst:497
621627msgid ""
You can’t perform that action at this time.
0 commit comments