Mailing List Archive

python/dist/src/Doc/lib libos.tex,1.74.2.1.2.2,1.74.2.1.2.3
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv5856/lib

Modified Files:
Tag: release22-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.74.2.1.2.2
retrieving revision 1.74.2.1.2.3
diff -C2 -d -r1.74.2.1.2.2 -r1.74.2.1.2.3
*** libos.tex 26 Apr 2002 20:59:55 -0000 1.74.2.1.2.2
--- libos.tex 1 May 2002 03:32:25 -0000 1.74.2.1.2.3
***************
*** 471,475 ****
\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.

--- 471,477 ----
\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.