[Python-checkins] r71787 - python/trunk/Doc/library/functions.rst

georg.brandl python-checkins at python.org
Tue Apr 21 20:24:34 CEST 2009


Author: georg.brandl
Date: Tue Apr 21 20:24:34 2009
New Revision: 71787

Log:
#5751: fix escaping of \\n.

Modified:
   python/trunk/Doc/library/functions.rst

Modified: python/trunk/Doc/library/functions.rst
==============================================================================
--- python/trunk/Doc/library/functions.rst	(original)
+++ python/trunk/Doc/library/functions.rst	Tue Apr 21 20:24:34 2009
@@ -830,7 +830,7 @@
    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


More information about the Python-checkins mailing list