File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -620,25 +620,28 @@ msgid ""
620620"*oldChild* will not be used further, its :meth:`unlink` method should be "
621621"called."
622622msgstr ""
623+ "移除一个子节点。 *oldChild* 必须是这个节点的子节点;如果不是,则会引发 :exc:`ValueError`。 成功时 *oldChild* "
624+ "会被返回。 如果 *oldChild* 将不再被继续使用,则将调用它的 :meth:`unlink` 方法。"
623625
624626#: ../../library/xml.dom.rst:384
625627msgid ""
626628"Replace an existing node with a new node. It must be the case that "
627629"*oldChild* is a child of this node; if not, :exc:`ValueError` is raised."
628630msgstr ""
631+ "将一个现有节点替换为新的节点。 这必须属于 *oldChild* 是该节点的子节点的情况;如果不是,则会引发 :exc:`ValueError`。"
629632
630633#: ../../library/xml.dom.rst:390
631634msgid ""
632635"Join adjacent text nodes so that all stretches of text are stored as single "
633636":class:`Text` instances. This simplifies processing text from a DOM tree "
634637"for many applications."
635- msgstr ""
638+ msgstr "合并相邻的文本节点以便将所有文本段存储为单个 :class:`Text` 实例。 这可以简化许多应用程序处理来自 DOM 树文本的操作。 "
636639
637640#: ../../library/xml.dom.rst:397
638641msgid ""
639642"Clone this node. Setting *deep* means to clone all child nodes as well. "
640643"This returns the clone."
641- msgstr ""
644+ msgstr "克隆此节点。 设置 *deep* 表示也克隆所有子节点。 此方法将返回克隆的节点。 "
642645
643646#: ../../library/xml.dom.rst:404
644647msgid "NodeList Objects"
You can’t perform that action at this time.
0 commit comments