summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-21 18:24:34 (GMT)
committerGeorg Brandl <georg@python.org>2009-04-21 18:24:34 (GMT)
commite56101136c53b18b9aeba0fc0f067655ce3e5c66 (patch)
treedc67f7f08660dfc4c9443ed10916cd3cdd00a412 /Doc
parentce543566902a730abacddaed508b12f2d4ad6cd8 (diff)
downloadcpython-e56101136c53b18b9aeba0fc0f067655ce3e5c66.zip
cpython-e56101136c53b18b9aeba0fc0f067655ce3e5c66.tar.gz
cpython-e56101136c53b18b9aeba0fc0f067655ce3e5c66.tar.bz2
#5751: fix escaping of \\n.
Diffstat (limited to 'Doc')
-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 a075afd..078cfad 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -830,7 +830,7 @@ available. They are listed here in alphabetical order.
accidents.)
-.. function:: print([object, ...][, sep=' '][, end='\n'][, file=sys.stdout])
+.. function:: print([object, ...][, sep=' '][, end='\\n'][, file=sys.stdout])
Print *object*\(s) to the stream *file*, separated by *sep* and followed by
*end*. *sep*, *end* and *file*, if present, must be given as keyword