gh-117404: Document preference for zlib_version over zlib.ZLIB_RUNTIME_VERSION (#157816)

This commit is contained in:
Stan Ulbrych authored and GitHub committed 2026-10-21 02:36:53 -07:00
1 parent 81518cec90
commit 7ed37e95c5
1 file changed
+4 -1
+4 -1
View File
@@ -487,11 +487,14 @@ the following constants:
The version string of the zlib library actually loaded by the interpreter.
Prefer :const:`!zlib_version` over its :const:`!ZLIB_RUNTIME_VERSION` alias.
.. versionadded:: 3.3
The :const:`!ZLIB_RUNTIME_VERSION` constant.
.. versionadded:: 3.16
The :const:`!zlib_version` alias.
The :const:`!zlib_version` constant; :const:`!ZLIB_RUNTIME_VERSION` is now
an alias for it.
.. data:: ZLIB_VERSION_INFO