Skip to content

[3.9] bpo-42253: Update xml.dom.minidom.rst (GH-23126) #28875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Doc/library/xml.dom.minidom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand All @@ -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:

Expand Down