MCPcopy Index your code
hub / github.com/RustPython/RustPython / collect_zlib

Function collect_zlib

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

Source from the content-addressed store, hash-verified

647
648
649def collect_zlib(info_add):
650 try:
651 import zlib
652 except ImportError:
653 return
654
655 attributes = ('ZLIB_VERSION', 'ZLIB_RUNTIME_VERSION')
656 copy_attributes(info_add, zlib, 'zlib.%s', attributes)
657
658
659def collect_expat(info_add):

Callers

nothing calls this directly

Calls 1

copy_attributesFunction · 0.85

Tested by

no test coverage detected