[issue43873] bz2.open() docs give conflicting defaults for mode

Shreyan Avigyan report at bugs.python.org
Fri Apr 16 14:21:48 EDT 2021


Shreyan Avigyan <shreyan.avigyan at gmail.com> 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 <report at bugs.python.org>
<https://bugs.python.org/issue43873>
_______________________________________


More information about the Python-bugs-list mailing list