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 105e6cd commit a3d20bfCopy full SHA for a3d20bf
Doc/library/io.rst
@@ -315,6 +315,9 @@ I/O Base Classes
315
to control the number of lines read: no more lines will be read if the
316
total size (in bytes/characters) of all lines so far exceeds *hint*.
317
318
+ *hint* values of ``0`` or less, as well as ``None``, are treated as no
319
+ hint.
320
+
321
Note that it's already possible to iterate on file objects using ``for
322
line in file: ...`` without calling ``file.readlines()``.
323
0 commit comments