Skip to content

Commit a7b592e

Browse files
StanFromIrelandambv
authored andcommitted
Document preference for zlib_version instead.
1 parent 4f91012 commit a7b592e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎Doc/library/zlib.rst‎

Lines changed: 5 additions & 2 deletions
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

493-
.. versionadded:: next
494-
The :const:`!zlib_version` alias.
495+
.. versionadded:: 3.16
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)