[issue43126] IOBase.readlines(0) behaviour is inconsistent with documentation
Andrei Kulakov
report at bugs.python.org
Wed Jul 7 22:11:17 EDT 2021
Andrei Kulakov <andrei.avk at gmail.com> added the comment:
Thanks for the report!
I agree docs could be improved. Note this method lives in `IOBase` so this behavior also applies to the file pointer returned from `open()` builtin.
I've put up the PR here: https://github.com/python/cpython/pull/27061/files
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43126>
_______________________________________
More information about the Python-bugs-list
mailing list