summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-07-01 20:45:09 (GMT)
committerGeorg Brandl <georg@python.org>2008-07-01 20:45:09 (GMT)
commit1e0eefc4a1e47278c44c3dab63835a1f2c2421f1 (patch)
tree5c864b5106b6b21429eaf47a25afaccfe8d41003 /Doc
parentbdd941fac3631e0c971d6c1a4e9f9b39a787b14e (diff)
downloadcpython-1e0eefc4a1e47278c44c3dab63835a1f2c2421f1.zip
cpython-1e0eefc4a1e47278c44c3dab63835a1f2c2421f1.tar.gz
cpython-1e0eefc4a1e47278c44c3dab63835a1f2c2421f1.tar.bz2
#1523853: add note about fread().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index af537aa..8cc3722 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2058,6 +2058,10 @@ Files have the following methods:
that when in non-blocking mode, less data than what was requested may be
returned, even if no *size* parameter was given.
+ .. note::
+ As this function depends of the underlying C function :cfunc:`fread`,
+ it resembles its behaviour in details like caching EOF and others.
+
.. method:: file.readline([size])