Skip to content

Commit 7ed37e9

Browse files
gh-117404: Document preference for zlib_version over zlib.ZLIB_RUNTIME_VERSION (#157816)
1 parent 81518ce commit 7ed37e9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Doc/library/zlib.rst‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,11 +487,14 @@ the following constants:
487487

488488
The version string of the zlib library actually loaded by the interpreter.
489489

490+
Prefer :const:`!zlib_version` over its :const:`!ZLIB_RUNTIME_VERSION` alias.
491+
490492
.. versionadded:: 3.3
491493
The :const:`!ZLIB_RUNTIME_VERSION` constant.
492494

493495
.. versionadded:: 3.16
494-
The :const:`!zlib_version` alias.
496+
The :const:`!zlib_version` constant; :const:`!ZLIB_RUNTIME_VERSION` is now
497+
an alias for it.
495498

496499

497500
.. data:: ZLIB_VERSION_INFO

0 commit comments

Comments
 (0)