summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2012-06-04 21:36:24 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2012-06-04 21:36:24 (GMT)
commit6cbb20cdf61329ebfa6afcacad21ee6252fb5be5 (patch)
treea0493b69a4f5d2ac3cafa4e0b20efa5f3a856cef /Misc
parent33c34da5745f2e3fdc315e5098295621d8023674 (diff)
downloadcpython-6cbb20cdf61329ebfa6afcacad21ee6252fb5be5.zip
cpython-6cbb20cdf61329ebfa6afcacad21ee6252fb5be5.tar.gz
cpython-6cbb20cdf61329ebfa6afcacad21ee6252fb5be5.tar.bz2
Allow LZMAFile to accept modes with a "b" suffix.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 24eeeaa..333999f 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.