diff options
author | E Kawashima <e-kwsm@users.noreply.github.com> | 2018-12-01 12:21:01 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-01 12:21:00 (GMT) |
commit | 1e28daf0b58c9c3a08e98b3a3caebb53acf9a617 (patch) | |
tree | 79132dd8bd2653b3653d98eb49f7a78553f8ca9e | |
parent | c0566e0ff6c2dd1a8b814ecd65649605c090527b (diff) | |
download | cpython-1e28daf0b58c9c3a08e98b3a3caebb53acf9a617.zip cpython-1e28daf0b58c9c3a08e98b3a3caebb53acf9a617.tar.gz cpython-1e28daf0b58c9c3a08e98b3a3caebb53acf9a617.tar.bz2 |
[3.6] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). (GH-10825)
(cherry picked from commit b7c2182604d5796b5af4c837991aa0b8c8a2d41f)
-rw-r--r-- | Doc/library/xml.dom.minidom.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst index 40470e8..d5d7b20 100644 --- a/Doc/library/xml.dom.minidom.rst +++ b/Doc/library/xml.dom.minidom.rst @@ -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 |