summaryrefslogtreecommitdiff
path: root/Doc/library/xml.dom.minidom.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2021-01-04 13:50:11 +0100
committerJulien Palard <julien@palard.fr>2021-01-04 13:50:11 +0100
commitbcacd9d9e6d62d99fba853f0b9db38d7efd221c4 (patch)
tree3df2b9d5ddf034900e27a3655fd28fc37c60ff1a /Doc/library/xml.dom.minidom.rst
parentf24ac455521e46bf9f6c7971aec0e4abec4451c4 (diff)
downloadcpython-git-revert-23828-backport-dcc997c-3.8.tar.gz
Revert "[3.8] [doc] Fix erroneous backslashes in signatures and names (GH-23658)"revert-23828-backport-dcc997c-3.8
This partially reverts commit 02349e2dc9d93202c658ae383b2de2e36b2366f8, which was removing backslashes in documentations compiled with Sphinx < 3, used for Python 3.8 and 3.9 docs.
Diffstat (limited to 'Doc/library/xml.dom.minidom.rst')
-rw-r--r--Doc/library/xml.dom.minidom.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/xml.dom.minidom.rst b/Doc/library/xml.dom.minidom.rst
index 673af8326a..8711242d95 100644
--- a/Doc/library/xml.dom.minidom.rst
+++ b/Doc/library/xml.dom.minidom.rst
@@ -164,7 +164,7 @@ module documentation. This section lists the differences between the API and
The :meth:`toxml` method now preserves the attribute order specified
by the user.
-.. method:: Node.toprettyxml(indent="\t", newl="\n", encoding=None)
+.. method:: Node.toprettyxml(indent="\\t", newl="\\n", encoding=None)
Return a pretty-printed version of the document. *indent* specifies the
indentation string and defaults to a tabulator; *newl* specifies the string