Skip to content

Commit

Permalink
Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kwsm authored and serhiy-storchaka committed Nov 30, 2018
1 parent 304315d commit b7c2182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/xml.dom.minidom.rst
Expand Up @@ -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
Expand Down

0 comments on commit b7c2182

Please sign in to comment.