diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-07-28 10:34:08 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-07-28 10:34:08 (GMT) |
commit | 611a7101ca2161903f403e3b70e6087957730b1c (patch) | |
tree | 6fb33b9791268c087876146942f45118f472ac31 /Misc | |
parent | 75d2d94e0f049162c6ef353a89c5703eb78eaaf6 (diff) | |
download | cpython-611a7101ca2161903f403e3b70e6087957730b1c.zip cpython-611a7101ca2161903f403e3b70e6087957730b1c.tar.gz cpython-611a7101ca2161903f403e3b70e6087957730b1c.tar.bz2 |
Patch #552812: Better description in "python -h" for -u.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/python.man | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Misc/python.man b/Misc/python.man index 5cd8816..2aa1de8 100644 --- a/Misc/python.man +++ b/Misc/python.man @@ -138,7 +138,11 @@ indentation in a way that makes it depend on the worth of a tab expressed in spaces. Issue an error when the option is given twice. .TP .B \-u -Force stdin, stdout and stderr to be totally unbuffered. +Force stdin, stdout and stderr to be totally unbuffered. Note that +there is internal buffering in xreadlines(), readlines() and file-object +iterators ("for line in sys.stdin") which is not influenced by this +option. To work around this, you will want to use "sys.stdin.readline()" +inside a "while 1:" loop. .TP .B \-v Print a message each time a module is initialized, showing the place |