From ebfbb311a5e6e1422b50fa8b17d3c445afaf3d67 Mon Sep 17 00:00:00 2001 From: E Kawashima Date: Fri, 30 Nov 2018 19:50:51 +0900 Subject: [PATCH] [Docs] Fix signature of xml.dom.minidom.Document.toprettyxml --- Doc/library/xml.dom.minidom.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index a1f334d4178e43..42340802f1938b 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