mirror of
https://github.com/python/cpython.git
synced 2026-10-28 18:35:21 +08:00
gh-117404: Document preference for zlib_version over zlib.ZLIB_RUNTIME_VERSION (#157816)
This commit is contained in:
1 parent
81518cec90
commit
7ed37e95c5
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user