summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2021-01-04 16:19:16 (GMT)
committerGitHub <noreply@github.com>2021-01-04 16:19:16 (GMT)
commit218ed0b013377764ba05f0d21e5b733f7bc481ac (patch)
tree3df2b9d5ddf034900e27a3655fd28fc37c60ff1a /Doc/library/functions.rst
parentf24ac455521e46bf9f6c7971aec0e4abec4451c4 (diff)
downloadcpython-218ed0b013377764ba05f0d21e5b733f7bc481ac.zip
cpython-218ed0b013377764ba05f0d21e5b733f7bc481ac.tar.gz
cpython-218ed0b013377764ba05f0d21e5b733f7bc481ac.tar.bz2
Revert "[3.8] [doc] Fix erroneous backslashes in signatures and names (GH-23658)" (GH-24093)
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/functions.rst')
-rw-r--r--Doc/library/functions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index be98d30..4f5fe6b 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1312,7 +1312,7 @@ are always available. They are listed here in alphabetical order.
supported.
-.. function:: print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)
+.. function:: print(*objects, sep=' ', end='\\n', file=sys.stdout, flush=False)
Print *objects* to the text stream *file*, separated by *sep* and followed
by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as keyword