File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -477,13 +477,17 @@ msgid ""
477477"it will be the :class:`Document` object. For :class:`Attr` nodes, this is "
478478"always ``None``. This is a read-only attribute."
479479msgstr ""
480+ "当前节点的上级,或者对于文档节点则为 ``None``。 该值总是一个 :class:`Node` 对象或者 ``None``。 对于 "
481+ ":class:`Element` 节点,这将为上级元素,但对于根元素例外,在此情况下它将为 :class:`Document` 对象。 对于 "
482+ ":class:`Attr` 节点,它将总是为 ``None``。 这是个只读属性。"
480483
481484#: ../../library/xml.dom.rst:263
482485msgid ""
483486"A :class:`NamedNodeMap` of attribute objects. Only elements have actual "
484487"values for this; others provide ``None`` for this attribute. This is a read-"
485488"only attribute."
486489msgstr ""
490+ "属性对象的 :class:`NamedNodeMap`。 这仅对元素才有实际值;其它对象会为该属性提供 ``None`` 值。 这是个只读属性。"
487491
488492#: ../../library/xml.dom.rst:270
489493msgid ""
@@ -511,13 +515,13 @@ msgstr ""
511515msgid ""
512516"The first child of the node, if there are any, or ``None``. This is a read-"
513517"only attribute."
514- msgstr ""
518+ msgstr "节点的第一个下级,如果有的话,否则为 ``None``。 这是个只读属性。 "
515519
516520#: ../../library/xml.dom.rst:298
517521msgid ""
518522"The last child of the node, if there are any, or ``None``. This is a read-"
519523"only attribute."
520- msgstr ""
524+ msgstr "节点的最后一个下级,如果有的话,否则为 ``None``。 这是个只读属性。 "
521525
522526#: ../../library/xml.dom.rst:304
523527msgid ""
You can’t perform that action at this time.
0 commit comments