]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-42253: Update xml.dom.minidom.rst (GH-23126)
authorJens Diemer <github.com@jensdiemer.de>
Mon, 11 Oct 2021 10:42:05 +0000 (12:42 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Oct 2021 10:42:05 +0000 (13:42 +0300)
Document that the "standalone" parameter was added in Python 3.9.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/library/xml.dom.minidom.rst

index d3a5f872204a35057d3dbdab072d9469717fa9f9..20984b98b1778c5c5f537d5df44a132589b371cb 100644 (file)
@@ -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: