Andrei Kulakov <andrei....@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 <rep...@bugs.python.org> <https://bugs.python.org/issue43126> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com