diff options
| author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2003-03-04 00:50:24 +0000 |
|---|---|---|
| committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2003-03-04 00:50:24 +0000 |
| commit | fac559c5334afc8e44cf45555082be1f165a02e6 (patch) | |
| tree | 495d9c08f2d983e2cdff63df36a6587876317d18 /Doc | |
| parent | 5eb8227235496ebc99b4616df2ff0185324caeb1 (diff) | |
| download | cpython-git-fac559c5334afc8e44cf45555082be1f165a02e6.tar.gz | |
Backported fix to [521782] unreliable file.read() error handling.
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/lib/libstdtypes.tex | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index fcc3361593..eff8ff40b8 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -1163,7 +1163,9 @@ Files have the following methods: 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}} |
