mirror of https://github.com/python/cpython
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>
This commit is contained in:
parent
fcb3d2ff63
commit
c7e81fcf95
|
@ -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
|
The :meth:`writexml` method now preserves the attribute order specified
|
||||||
by the user.
|
by the user.
|
||||||
|
|
||||||
|
.. versionchanged:: 3.9
|
||||||
|
The *standalone* parameter was added.
|
||||||
|
|
||||||
.. method:: Node.toxml(encoding=None, standalone=None)
|
.. method:: Node.toxml(encoding=None, standalone=None)
|
||||||
|
|
||||||
Return a string or byte string containing the XML represented by
|
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
|
The :meth:`toxml` method now preserves the attribute order specified
|
||||||
by the user.
|
by the user.
|
||||||
|
|
||||||
|
.. versionchanged:: 3.9
|
||||||
|
The *standalone* parameter was added.
|
||||||
|
|
||||||
.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None, \
|
.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None, \
|
||||||
standalone=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
|
The :meth:`toprettyxml` method now preserves the attribute order specified
|
||||||
by the user.
|
by the user.
|
||||||
|
|
||||||
|
.. versionchanged:: 3.9
|
||||||
|
The *standalone* parameter was added.
|
||||||
|
|
||||||
.. _dom-example:
|
.. _dom-example:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue