From f2a43025bf9e18d038d00630c0e07cb3ae5eae79 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith [Google LLC]" Date: Thu, 11 Jan 2024 17:01:39 -0800 Subject: [PATCH] Reword the doc as versionadded. --- Doc/library/zipfile.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Doc/library/zipfile.rst b/Doc/library/zipfile.rst index e3c821c4854289..c70f2ec561de8f 100644 --- a/Doc/library/zipfile.rst +++ b/Doc/library/zipfile.rst @@ -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)