Skip to content

Commit

Permalink
Documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
gpshead committed Jan 11, 2024
1 parent 2b7fa23 commit c2eb258
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Doc/library/zipfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ The module defines the following items:
of the last modification to the file; the fields are described in section
:ref:`zipinfo-objects`.

.. versionchanged:: 3.13
While the internals of a :class:`!ZipInfo` objects remain
un(der)documented, the ``.compress_level`` attribute was renamed from
``._compresslevel``. The old name continues to work as a property for
backwards compatibility.

.. function:: is_zipfile(filename)

Returns ``True`` if *filename* is a valid ZIP file based on its magic number,
Expand Down

0 comments on commit c2eb258

Please sign in to comment.