Kaydet (Commit) 00eb5ad9 authored tarafından Fred Drake's avatar Fred Drake

Explain what os.read() returns at end of file.

This closes SF bug #550409.
üst 310d2e46
......@@ -470,7 +470,9 @@ Availability: \UNIX, Windows.
\begin{funcdesc}{read}{fd, n}
Read at most \var{n} bytes from file descriptor \var{fd}.
Return a string containing the bytes read.
Return a string containing the bytes read. If the end of the file
referred to by \var{fd} has been reached, an empty string is
returned.
Availability: Macintosh, \UNIX, Windows.
Note: this function is intended for low-level I/O and must be applied
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment