diff -r 2c70897e5f98 Doc/library/zipfile.rst --- a/Doc/library/zipfile.rst Fri Aug 01 21:57:49 2014 +0100 +++ b/Doc/library/zipfile.rst Sat Aug 02 15:11:42 2014 +0300 @@ -289,7 +289,10 @@ file in the archive, or a :class:`ZipInfo` object. The archive must be open for read or append. *pwd* is the password used for encrypted files and, if specified, it will override the default password set with :meth:`setpassword`. Calling - :meth:`read` on a closed ZipFile will raise a :exc:`RuntimeError`. + :meth:`read` on a closed ZipFile will raise a :exc:`RuntimeError`. Calling + :meth:`read` on a ZipFile that uses a compression method other than + :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :const:`ZIP_BZIP2` or + :const:`ZIP_LZMA` will raise a :exc:`NotImplementedError`. .. method:: ZipFile.testzip()