File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,6 +193,8 @@ msgid ""
193193"statement. The following code will automatically unlink *dom* when the "
194194":keyword:`!with` block is exited::"
195195msgstr ""
196+ "你可以通过使用 :keyword:`with` 语句来避免显式调用此方法。 以下代码会在 :keyword:`!with` 代码块退出时自动取消链接 "
197+ "*dom*::"
196198
197199#: ../../library/xml.dom.minidom.rst:137
198200msgid ""
@@ -203,12 +205,14 @@ msgid ""
203205"subnodes of the current one. The *newl* parameter specifies the string to "
204206"use to terminate newlines."
205207msgstr ""
208+ "将 XML 写入到写入器对象。 写入器接受文本而非字节串作为输入,它应当具有与文件对象接口相匹配的 :meth:`write` 方法。 *indent*"
209+ " 形参是当前节点的缩进层级。 *addindent* 形参是用于当前节点的下级节点的缩进量。 *newl* 形参指定用于一行结束的字符串。"
206210
207211#: ../../library/xml.dom.minidom.rst:144
208212msgid ""
209213"For the :class:`Document` node, an additional keyword argument *encoding* "
210214"can be used to specify the encoding field of the XML header."
211- msgstr ""
215+ msgstr "对于 :class:`Document` 节点,可以使用附加的关键字参数 *encoding* 来指定 XML 标头的编码格式字段。 "
212216
213217#: ../../library/xml.dom.minidom.rst:150
214218msgid ""
You can’t perform that action at this time.
0 commit comments