summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorE Kawashima <e-kwsm@users.noreply.github.com>2018-12-01 21:16:00 +0900
committerSerhiy Storchaka <storchaka@gmail.com>2018-12-01 14:16:00 +0200
commitdfd4a1d8414ea54a3c56e909167983a503e51067 (patch)
treec67761204dee105cc9d79744d6da9e976382c1b1
parent2212ee2bee70fc9b4c76e79cc532f52673e5a13f (diff)
downloadcpython-git-dfd4a1d8414ea54a3c56e909167983a503e51067.tar.gz
[2.7] Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814). (GH-10827)
(cherry picked from commit b7c2182604d5796b5af4c837991aa0b8c8a2d41f)
-rw-r--r--Doc/library/xml.dom.minidom.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index f91259a8fb..2f4022428d 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -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