diff options
-rw-r--r-- | Doc/library/bz2.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/bz2.rst b/Doc/library/bz2.rst index 277de60..aa836af 100644 --- a/Doc/library/bz2.rst +++ b/Doc/library/bz2.rst @@ -31,7 +31,7 @@ All of the classes in this module may safely be accessed from multiple threads. (De)compression of files ------------------------ -.. function:: open(filename, mode='r', compresslevel=9, encoding=None, errors=None, newline=None) +.. function:: open(filename, mode='rb', compresslevel=9, encoding=None, errors=None, newline=None) Open a bzip2-compressed file in binary or text mode, returning a :term:`file object`. |