diff options
author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-06-04 21:32:38 (GMT) |
---|---|---|
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-06-04 21:32:38 (GMT) |
commit | af518c198e249aae63a82a5a44c93c3e5cc140f4 (patch) | |
tree | c7a13dcbeac206aaeb6f1e565bbcfd1a80275448 /Misc | |
parent | 50cb936bd0fe2645d975f6acf519caa606fc82d3 (diff) | |
download | cpython-af518c198e249aae63a82a5a44c93c3e5cc140f4.zip cpython-af518c198e249aae63a82a5a44c93c3e5cc140f4.tar.gz cpython-af518c198e249aae63a82a5a44c93c3e5cc140f4.tar.bz2 |
Add a function bz2.open(), to match gzip.open().
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,9 @@ Core and Builtins Library ------- +- The bz2 module now contains an open() function, allowing compressed files to + conveniently be opened in text mode as well as binary mode. + - BZ2File.__init__() now accepts a file object as its first argument, rather than requiring a separate "fileobj" argument. |