Mailing List Archive

python/dist/src/Doc/lib libos.tex,1.83,1.84
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv5751/lib

Modified Files:
libos.tex
Log Message:
Explain what os.read() returns at end of file.
This closes SF bug #550409. Applying to release21-maint & release22-maint.


Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.83
retrieving revision 1.84
diff -C2 -d -r1.83 -r1.84
*** libos.tex 26 Apr 2002 20:59:40 -0000 1.83
--- libos.tex 1 May 2002 03:31:42 -0000 1.84
***************
*** 472,476 ****
\begin{funcdesc}{read}{fd, n}
Read at most \var{n} bytes from file descriptor \var{fd}.
! Return a string containing the bytes read.
Availability: Macintosh, \UNIX, Windows.

--- 472,478 ----
\begin{funcdesc}{read}{fd, n}
Read at most \var{n} bytes from file descriptor \var{fd}.
! 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.