summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.dom.minidom.rst
diff options
context:
space:
mode:
authorJens Diemer <github.com@jensdiemer.de>2021-10-11 10:42:05 (GMT)
committerGitHub <noreply@github.com>2021-10-11 10:42:05 (GMT)
commitc7e81fcf9548ab6a0a4828d6f2db9ece9d204826 (patch)
tree878717c85b1629fdfca11321d0fac6f39420acfc /Doc/library/xml.dom.minidom.rst
parentfcb3d2ff633f3e9a826888d8b29c305a3959ff54 (diff)
downloadcpython-c7e81fcf9548ab6a0a4828d6f2db9ece9d204826.zip
cpython-c7e81fcf9548ab6a0a4828d6f2db9ece9d204826.tar.gz
cpython-c7e81fcf9548ab6a0a4828d6f2db9ece9d204826.tar.bz2
bpo-42253: Update xml.dom.minidom.rst (GH-23126)
Document that the "standalone" parameter was added in Python 3.9. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Doc/library/xml.dom.minidom.rst')
-rw-r--r--Doc/library/xml.dom.minidom.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index d3a5f87..20984b9 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -156,6 +156,9 @@ module documentation. This section lists the differences between the API and
The :meth:`writexml` method now preserves the attribute order specified
by the user.
+ .. versionchanged:: 3.9
+ The *standalone* parameter was added.
+
.. method:: Node.toxml(encoding=None, standalone=None)
Return a string or byte string containing the XML represented by
@@ -174,6 +177,9 @@ module documentation. This section lists the differences between the API and
The :meth:`toxml` method now preserves the attribute order specified
by the user.
+ .. versionchanged:: 3.9
+ The *standalone* parameter was added.
+
.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None, \
standalone=None)
@@ -190,6 +196,8 @@ module documentation. This section lists the differences between the API and
The :meth:`toprettyxml` method now preserves the attribute order specified
by the user.
+ .. versionchanged:: 3.9
+ The *standalone* parameter was added.
.. _dom-example: