summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2021-01-25 14:46:06 (GMT)
committerGitHub <noreply@github.com>2021-01-25 14:46:06 (GMT)
commit5c1f15b4b1024cbf0acc85832f0c623d1a4605fd (patch)
tree557ba61e17c68c0e830ec6577e19b9d224f8572a /Doc/library/functions.rst
parent483359174e92489e13959977824806734f1a8cdd (diff)
downloadcpython-5c1f15b4b1024cbf0acc85832f0c623d1a4605fd.zip
cpython-5c1f15b4b1024cbf0acc85832f0c623d1a4605fd.tar.gz
cpython-5c1f15b4b1024cbf0acc85832f0c623d1a4605fd.tar.bz2
bpo-42843: Keep Sphinx 1.8 and Sphinx 2 compatibility (GH-24282)
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 f28d63b..f84353c 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1334,7 +1334,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