Mailing List Archive

python/dist/src/Doc/lib libos.tex,1.53.4.6,1.53.4.7
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv5943/lib

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


Index: libos.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v
retrieving revision 1.53.4.6
retrieving revision 1.53.4.7
diff -C2 -d -r1.53.4.6 -r1.53.4.7
*** libos.tex 22 Jun 2001 15:41:58 -0000 1.53.4.6
--- libos.tex 1 May 2002 03:33:02 -0000 1.53.4.7
***************
*** 454,458 ****
\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.

--- 454,460 ----
\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.