summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-06-04 21:34:07 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-06-04 21:34:07 (GMT)
commit33c34da5745f2e3fdc315e5098295621d8023674 (patch)
tree224765898477deda4a8d39dbf574c476752b16dd /Misc
parentaf518c198e249aae63a82a5a44c93c3e5cc140f4 (diff)
downloadcpython-33c34da5745f2e3fdc315e5098295621d8023674.zip
cpython-33c34da5745f2e3fdc315e5098295621d8023674.tar.gz
cpython-33c34da5745f2e3fdc315e5098295621d8023674.tar.bz2
Simplify usage of LZMAFile's fileobj support, like with BZ2File.
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 e46e99d..24eeeaa 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -18,8 +18,8 @@ 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.
+- BZ2File.__init__() and LZMAFile.__init__() now accept a file object as their
+ first argument, rather than requiring a separate "fileobj" argument.
- gzip.open() now accepts file objects as well as filenames.