summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-06-04 21:38:12 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-06-04 21:38:12 (GMT)
commite860404eb78c2f6fcb05477bdb691e81009ee28d (patch)
tree8b86efe55750f1df62738a939351bba241582880 /Misc
parent6cbb20cdf61329ebfa6afcacad21ee6252fb5be5 (diff)
downloadcpython-e860404eb78c2f6fcb05477bdb691e81009ee28d.zip
cpython-e860404eb78c2f6fcb05477bdb691e81009ee28d.tar.gz
cpython-e860404eb78c2f6fcb05477bdb691e81009ee28d.tar.bz2
Add a function lzma.open(), to match gzip.open() and bz2.open().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 333999f..ee5e5ff 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -17,8 +17,8 @@ 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.
+- The bz2 and lzma modules now each contain an open() function, allowing
+ compressed files to readily be opened in text mode as well as binary mode.
- BZ2File.__init__() and LZMAFile.__init__() now accept a file object as their
first argument, rather than requiring a separate "fileobj" argument.