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

Function collect_decimal

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

Source from the content-addressed store, hash-verified

685
686
687def collect_decimal(info_add):
688 try:
689 import _decimal
690 except ImportError:
691 return
692
693 attributes = ('__libmpdec_version__',)
694 copy_attributes(info_add, _decimal, '_decimal.%s', attributes)
695
696
697def collect_testcapi(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…