summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-28 11:15:49 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-28 11:15:49 (GMT)
commit2c39c772859867b5f917bd9bc7cc663b43c58882 (patch)
treeb914389841824bb299806cdfd16923bb9ad79075 /Doc/library
parentc28036b532df67d0c1427b1abb2110024e33fd17 (diff)
downloadcpython-2c39c772859867b5f917bd9bc7cc663b43c58882.zip
cpython-2c39c772859867b5f917bd9bc7cc663b43c58882.tar.gz
cpython-2c39c772859867b5f917bd9bc7cc663b43c58882.tar.bz2
#10781: clarify that *encoding* is not a parameter for Node objects in general.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/xml.dom.minidom.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index e6f2253..4fb4025 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -122,7 +122,7 @@ module documentation. This section lists the differences between the API and
... # Work with dom.
-.. method:: Node.writexml(writer, indent="", addindent="", newl="", encoding="")
+.. method:: Node.writexml(writer, indent="", addindent="", newl="")
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
@@ -130,8 +130,8 @@ module documentation. This section lists the differences between the API and
indentation to use for subnodes of the current one. The *newl* parameter
specifies the string to use to terminate newlines.
- For the :class:`Document` node, an additional keyword argument *encoding* can be
- used to specify the encoding field of the XML header.
+ For the :class:`Document` node, an additional keyword argument *encoding* can
+ be used to specify the encoding field of the XML header.
.. method:: Node.toxml(encoding=None)