Shreyan Avigyan <[email protected]> added the comment:
The documentation has been corrected in 3.9. Prior to 3.9 the header was bz2.open(filename, mode='r' ...). Now in 3.9 or later the header is bz2.open(filename, mode='rb' ...). ---------- nosy: +shreyanavigyan _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue43873> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
