]> granicus.if.org Git - python/commitdiff
#5751: fix escaping of \\n.
authorGeorg Brandl <georg@python.org>
Tue, 21 Apr 2009 18:24:34 +0000 (18:24 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 21 Apr 2009 18:24:34 +0000 (18:24 +0000)
Doc/library/functions.rst

index a075afd06a908470cbbf7d39c917be6968596e26..078cfad6eeb7eaf8f5c9c3110ef05222aec7cbc9 100644 (file)
@@ -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