Mercurial > cpython-lru_cache-weakref
diff Doc/lib/libstdtypes.tex @ 28158:43c7d8a084fb 2.2
Backported fix to [521782] unreliable file.read() error handling.
| author | Gustavo Niemeyer <gustavo@niemeyer.net> |
|---|---|
| date | Tue, 04 Mar 2003 00:50:24 +0000 |
| parents | 2759b048da9b |
| children | 3434d1b9206a |
line wrap: on
line diff
--- a/Doc/lib/libstdtypes.tex Sat Mar 01 15:19:49 2003 +0000 +++ b/Doc/lib/libstdtypes.tex Tue Mar 04 00:50:24 2003 +0000 @@ -1163,7 +1163,9 @@ certain files, like ttys, it makes sense to continue reading after an \EOF{} is hit.) Note that this method may call the underlying C function \cfunction{fread()} more than once in an effort to - acquire as close to \var{size} bytes as possible. + acquire as close to \var{size} bytes as possible. Also note that + when in non-blocking mode, less data than what was requested may + be returned, even if no \var{size} parameter was given. \end{methoddesc} \begin{methoddesc}[file]{readline}{\optional{size}}
