mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Tweak wording
This commit is contained in:
parent
968117e974
commit
f5d2b4ce93
1 changed files with 3 additions and 3 deletions
|
@ -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])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue