Skip to content

Commit

Permalink
[3.7] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814
Browse files Browse the repository at this point in the history
). (GH-10824)

(cherry picked from commit b7c2182)
  • Loading branch information
e-kwsm authored and serhiy-storchaka committed Dec 1, 2018
1 parent 422c165 commit 7da9755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/xml.dom.minidom.rst
Expand Up @@ -156,7 +156,7 @@ module documentation. This section lists the differences between the API and
encoding. Encoding this string in an encoding other than UTF-8 is
likely incorrect, since UTF-8 is the default encoding of XML.

.. 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 7da9755

Please sign in to comment.