Skip to content

Commit 2352890

Browse files
bpo-42253: Update xml.dom.minidom.rst (GH-23126) (GH-28875)
Document that the "standalone" parameter was added in Python 3.9. Co-authored-by: Serhiy Storchaka <[email protected]> (cherry picked from commit c7e81fc) Co-authored-by: Jens Diemer <[email protected]>
1 parent 320084f commit 2352890

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/library/xml.dom.minidom.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ module documentation. This section lists the differences between the API and
156156
The :meth:`writexml` method now preserves the attribute order specified
157157
by the user.
158158

159+
.. versionchanged:: 3.9
160+
The *standalone* parameter was added.
161+
159162
.. method:: Node.toxml(encoding=None, standalone=None)
160163

161164
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
174177
The :meth:`toxml` method now preserves the attribute order specified
175178
by the user.
176179

180+
.. versionchanged:: 3.9
181+
The *standalone* parameter was added.
182+
177183
.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None, \
178184
standalone=None)
179185

@@ -190,6 +196,8 @@ module documentation. This section lists the differences between the API and
190196
The :meth:`toprettyxml` method now preserves the attribute order specified
191197
by the user.
192198

199+
.. versionchanged:: 3.9
200+
The *standalone* parameter was added.
193201

194202
.. _dom-example:
195203

0 commit comments

Comments
 (0)