MCPcopy Create free account
hub / github.com/RustPython/RustPython / collect_decimal

Function collect_decimal

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

Source from the content-addressed store, hash-verified

667
668
669def collect_decimal(info_add):
670 try:
671 import _decimal
672 except ImportError:
673 return
674
675 attributes = ('__libmpdec_version__',)
676 copy_attributes(info_add, _decimal, '_decimal.%s', attributes)
677
678
679def collect_testcapi(info_add):

Callers

nothing calls this directly

Calls 1

copy_attributesFunction · 0.85

Tested by

no test coverage detected