MCPcopy Index your code
hub / github.com/python/cpython / collect_zlib

Function collect_zlib

Lib/test/pythoninfo.py:657–664  ·  view source on GitHub ↗
(info_add)

Source from the content-addressed store, hash-verified

655
656
657def collect_zlib(info_add):
658 try:
659 import zlib
660 except ImportError:
661 return
662
663 attributes = ('ZLIB_VERSION', 'ZLIB_RUNTIME_VERSION', 'ZLIBNG_VERSION')
664 copy_attributes(info_add, zlib, 'zlib.%s', attributes)
665
666
667def collect_zstd(info_add):

Callers

nothing calls this directly

Calls 1

copy_attributesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…