Antoine Pitrou <pit...@free.fr> added the comment: Actually, I'm not sure what is wrong with the current doc:
read(n=-1)ΒΆ Read and return up to n bytes from the stream. As a convenience, if n is unspecified or -1, readall() is called. Otherwise, only one system call is ever made. An empty bytes object is returned on EOF; None is returned if the object is set not to block and has no data to read. (http://docs.python.org/dev/py3k/library/io.html) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7022> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com