Mercurial > cpython-lru_cache-weakref
diff Misc/python.man @ 37053:9ef3fac5d2c0
Get rid of xreadlines() (methods).
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Fri, 17 Mar 2006 08:29:44 +0000 |
| parents | 997b255e1ccc |
| children | d57aa752a401 |
line wrap: on
line diff
--- a/Misc/python.man Fri Mar 17 08:28:24 2006 +0000 +++ b/Misc/python.man Fri Mar 17 08:29:44 2006 +0000 @@ -152,7 +152,7 @@ .B \-u 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 +Note that there is internal buffering in 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.
