summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-06-04 21:32:38 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-06-04 21:32:38 (GMT)
commitaf518c198e249aae63a82a5a44c93c3e5cc140f4 (patch)
treec7a13dcbeac206aaeb6f1e565bbcfd1a80275448 /Misc
parent50cb936bd0fe2645d975f6acf519caa606fc82d3 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1dc0391..e46e99d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.