Tweak wording

This commit is contained in:
Andrew M. Kuchling 2008-07-03 12:50:03 +00:00
parent 968117e974
commit f5d2b4ce93

View file

@ -2055,12 +2055,12 @@ Files have the following methods:
files, like ttys, it makes sense to continue reading after an EOF is hit.) Note files, like ttys, it makes sense to continue reading after an EOF is hit.) Note
that this method may call the underlying C function :cfunc:`fread` more than that this method may call the underlying C function :cfunc:`fread` more than
once in an effort to acquire as close to *size* bytes as possible. Also note once in an effort to acquire as close to *size* bytes as possible. Also note
that when in non-blocking mode, less data than what was requested may be that when in non-blocking mode, less data than was requested may be
returned, even if no *size* parameter was given. returned, even if no *size* parameter was given.
.. note:: .. note::
As this function depends of the underlying C function :cfunc:`fread`, As this function depends on the underlying :cfunc:`fread` C function,
it resembles its behaviour in details like caching EOF and others. it will behave the same in details such as caching EOF.
.. method:: file.readline([size]) .. method:: file.readline([size])