Commit dfd4a1d8 authored by E Kawashima's avatar E Kawashima Committed by Serhiy Storchaka

[2.7] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). (GH-10827)

(cherry picked from commit b7c21826)
parent 2212ee2b
......@@ -169,7 +169,7 @@ module documentation. This section lists the differences between the API and
the *encoding* argument was introduced; see :meth:`writexml`.
.. 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment