summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-22 09:58:48 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-22 09:58:48 (GMT)
commit346a38dbc0cc28c4a308f81e41bc0a4f81eb49ea (patch)
tree70bf5af9be332e7430fc3df54fd1612a309ff419 /Doc/reference
parente15048ea37c52df085b6323968d16f3e8c79209c (diff)
downloadcpython-346a38dbc0cc28c4a308f81e41bc0a4f81eb49ea.zip
cpython-346a38dbc0cc28c4a308f81e41bc0a4f81eb49ea.tar.gz
cpython-346a38dbc0cc28c4a308f81e41bc0a4f81eb49ea.tar.bz2
Correction in softspace behavior description.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/simple_stmts.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 276a0da..e295552 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -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::