summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorE Kawashima <e-kwsm@users.noreply.github.com>2018-11-30 14:03:00 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-11-30 14:03:00 (GMT)
commitb7c2182604d5796b5af4c837991aa0b8c8a2d41f (patch)
tree28db7603d35bcd09e83f5ebc069aabb60cc6544c /Doc
parent304315d251dbb4e85dd86056ba1925f25e646ca1 (diff)
downloadcpython-b7c2182604d5796b5af4c837991aa0b8c8a2d41f.zip
cpython-b7c2182604d5796b5af4c837991aa0b8c8a2d41f.tar.gz
cpython-b7c2182604d5796b5af4c837991aa0b8c8a2d41f.tar.bz2
Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/xml.dom.minidom.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index a1f334d..4234080 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -163,7 +163,7 @@ module documentation. This section lists the differences between the API and
The :meth:`toxml` method now preserves the attribute order specified
by the user.
-.. method:: Node.toprettyxml(indent="", newl="", encoding="")
+.. method:: Node.toprettyxml(indent="\t", newl="\n", encoding=None)
Return a pretty-printed version of the document. *indent* specifies the
indentation string and defaults to a tabulator; *newl* specifies the string