summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.dom.minidom.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-04-12 18:36:09 (GMT)
committerGeorg Brandl <georg@python.org>2008-04-12 18:36:09 (GMT)
commit8189310a7f097cfd016e45e3148a609a55e8eabd (patch)
tree8ee7feac2af745326af1fac307abd84b4515fc30 /Doc/library/xml.dom.minidom.rst
parentb4d21139b77f9a43b01e3c43b22808050532d691 (diff)
downloadcpython-8189310a7f097cfd016e45e3148a609a55e8eabd.zip
cpython-8189310a7f097cfd016e45e3148a609a55e8eabd.tar.gz
cpython-8189310a7f097cfd016e45e3148a609a55e8eabd.tar.bz2
#2615: small consistency update by Jeroen Ruigrok van der Werven.
Diffstat (limited to 'Doc/library/xml.dom.minidom.rst')
-rw-r--r--Doc/library/xml.dom.minidom.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index ae1f8c5..b127f04 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -128,7 +128,7 @@ module documentation. This section lists the differences between the API and
to discard children of that node.
-.. method:: Node.writexml(writer[,indent=""[,addindent=""[,newl=""]]])
+.. method:: Node.writexml(writer[, indent=""[, addindent=""[, newl=""[, encoding=""]]]])
Write XML to the writer object. The writer should have a :meth:`write` method
which matches that of the file object interface. The *indent* parameter is the
@@ -160,10 +160,10 @@ module documentation. This section lists the differences between the API and
encoding argument should be specified as "utf-8".
.. versionchanged:: 2.3
- the *encoding* argument was introduced.
+ the *encoding* argument was introduced; see :meth:`writexml`.
-.. method:: Node.toprettyxml([indent[, newl]])
+.. method:: Node.toprettyxml([indent=""[, newl=""[, encoding=""]]])
Return a pretty-printed version of the document. *indent* specifies the
indentation string and defaults to a tabulator; *newl* specifies the string
@@ -172,7 +172,7 @@ module documentation. This section lists the differences between the API and
.. versionadded:: 2.1
.. versionchanged:: 2.3
- the encoding argument; see :meth:`toxml`.
+ the encoding argument was introduced; see :meth:`writexml`.
The following standard DOM methods have special considerations with
:mod:`xml.dom.minidom`: