diff options
Diffstat (limited to 'Doc/library/zipfile.rst')
-rw-r--r-- | Doc/library/zipfile.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index 49267c0..75860cc 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -64,9 +64,11 @@ The module defines the following items: .. function:: is_zipfile(filename) Returns ``True`` if *filename* is a valid ZIP file based on its magic number, - otherwise returns ``False``. This module does not currently handle ZIP files - which have appended comments. + otherwise returns ``False``. *filename* may be a file or file-like object too. + This module does not currently handle ZIP files which have appended comments. + .. versionchanged:: 2.7 + Support for file and file-like objects. .. data:: ZIP_STORED |