Mercurial > cpython-lru_cache-weakref
diff Misc/python.man @ 24401:bd3665bd2f78 legacy-trunk
Patch #552812: Better description in "python -h" for -u.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sun, 28 Jul 2002 10:34:08 +0000 |
| parents | e0ed68adba33 |
| children | ba3038a27c1e |
line wrap: on
line diff
--- a/Misc/python.man Sun Jul 28 10:23:27 2002 +0000 +++ b/Misc/python.man Sun Jul 28 10:34:08 2002 +0000 @@ -138,7 +138,11 @@ 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
