[Python-checkins] bpo-42253: Update xml.dom.minidom.rst (GH-23126) (GH-28874)
serhiy-storchaka
webhook-mailer at python.org
Tue Oct 12 03:17:58 EDT 2021
https://github.com/python/cpython/commit/3d7009e88e0ae516b10d8d3d402cc66e86fb631e
commit: 3d7009e88e0ae516b10d8d3d402cc66e86fb631e
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: serhiy-storchaka <storchaka at gmail.com>
date: 2021-10-12T10:17:53+03:00
summary:
bpo-42253: Update xml.dom.minidom.rst (GH-23126) (GH-28874)
Document that the "standalone" parameter was added in Python 3.9.
Co-authored-by: Serhiy Storchaka <storchaka at gmail.com>
(cherry picked from commit c7e81fcf9548ab6a0a4828d6f2db9ece9d204826)
Co-authored-by: Jens Diemer <github.com at jensdiemer.de>
files:
M Doc/library/xml.dom.minidom.rst
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index d3a5f872204a3..20984b98b1778 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:
More information about the Python-checkins
mailing list