From: Georg Brandl Date: Tue, 21 Apr 2009 18:24:34 +0000 (+0000) Subject: #5751: fix escaping of \\n. X-Git-Tag: v2.7a1~1439 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e56101136c53b18b9aeba0fc0f067655ce3e5c66;p=python #5751: fix escaping of \\n. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index a075afd06a..078cfad6ee 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