diff Misc/python.man @ 24696:ba3038a27c1e legacy-trunk

Document that -u puts stdin, stdout, and stderr in binary mode.
author Sjoerd Mullender <sjoerd@acm.org>
date Fri, 09 Aug 2002 13:37:31 +0000
parents bd3665bd2f78
children a9d778bd9653
line wrap: on
line diff
--- a/Misc/python.man	Fri Aug 09 13:35:18 2002 +0000
+++ b/Misc/python.man	Fri Aug 09 13:37:31 2002 +0000
@@ -138,11 +138,12 @@
 expressed in spaces.  Issue an error when the option is given twice.
 .TP
 .B \-u
-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.
+Force stdin, stdout and stderr to be totally unbuffered.  On systems
+where it matters, also put stdin, stdout and stderr in binary mode.
+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