Skip to content

Commit b7c2182

Browse files
e-kwsmserhiy-storchaka
authored andcommitted
Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814)
1 parent 304315d commit b7c2182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/xml.dom.minidom.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ module documentation. This section lists the differences between the API and
163163
The :meth:`toxml` method now preserves the attribute order specified
164164
by the user.
165165

166-
.. method:: Node.toprettyxml(indent="", newl="", encoding="")
166+
.. method:: Node.toprettyxml(indent="\t", newl="\n", encoding=None)
167167

168168
Return a pretty-printed version of the document. *indent* specifies the
169169
indentation string and defaults to a tabulator; *newl* specifies the string

0 commit comments

Comments
 (0)