mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814)
This commit is contained in:
parent
304315d251
commit
b7c2182604
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue