mirror of
https://github.com/python/cpython.git
synced 2025-11-17 17:46:45 +00:00
Allow LZMAFile to accept modes with a "b" suffix.
This commit is contained in:
parent
33c34da574
commit
6cbb20cdf6
4 changed files with 30 additions and 9 deletions
|
|
@ -15,6 +15,8 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- LZMAFile now accepts the modes "rb"/"wb"/"ab" as synonyms of "r"/"w"/"a".
|
||||
|
||||
- The bz2 module now contains an open() function, allowing compressed files to
|
||||
conveniently be opened in text mode as well as binary mode.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue