]> granicus.if.org Git - python/commitdiff
Correction in softspace behavior description.
authorGeorg Brandl <georg@python.org>
Fri, 22 May 2009 09:58:48 +0000 (09:58 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 22 May 2009 09:58:48 +0000 (09:58 +0000)
Doc/reference/simple_stmts.rst

index 276a0da50caddf18317906122fef5b4699ec0977..e295552f052993549557bd6dbafe0eab9be31479 100644 (file)
@@ -386,9 +386,10 @@ first converted to a string using the rules for string conversions.  The
 object is (converted and) written, unless the output system believes it is
 positioned at the beginning of a line.  This is the case (1) when no characters
 have yet been written to standard output, (2) when the last character written to
-standard output is ``'\n'``, or (3) when the last write operation on standard
-output was not a :keyword:`print` statement.  (In some cases it may be
-functional to write an empty string to standard output for this reason.)
+standard output is a whitespace character except ``' '``, or (3) when the last
+write operation on standard output was not a :keyword:`print` statement.
+(In some cases it may be functional to write an empty string to standard output
+for this reason.)
 
 .. note::