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

Function collect_expat

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

Source from the content-addressed store, hash-verified

657
658
659def collect_expat(info_add):
660 try:
661 from xml.parsers import expat
662 except ImportError:
663 return
664
665 attributes = ('EXPAT_VERSION',)
666 copy_attributes(info_add, expat, 'expat.%s', attributes)
667
668
669def collect_decimal(info_add):

Callers

nothing calls this directly

Calls 1

copy_attributesFunction · 0.85

Tested by

no test coverage detected