We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cc6769 commit 9b369c9Copy full SHA for 9b369c9
Doc/library/io.rst
@@ -391,6 +391,9 @@ I/O Base Classes
391
to control the number of lines read: no more lines will be read if the
392
total size (in bytes/characters) of all lines so far exceeds *hint*.
393
394
+ *hint* values of ``0`` or less, as well as ``None``, are treated as no
395
+ hint.
396
+
397
Note that it's already possible to iterate on file objects using ``for
398
line in file: ...`` without calling ``file.readlines()``.
399
0 commit comments