Skip to content

Commit

Permalink
Reword the doc as versionadded.
Browse files Browse the repository at this point in the history
  • Loading branch information
gpshead committed Jan 12, 2024
1 parent 6043a1a commit f2a4302
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Doc/library/zipfile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,10 @@ 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.
.. versionadded:: 3.13
A public ``.compress_level`` attribute has been added to expose the
formerly protected ``._compresslevel``. The older protected name
continues to work as a property for backwards compatibility.

.. function:: is_zipfile(filename)

Expand Down

0 comments on commit f2a4302

Please sign in to comment.