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

Function code_info

Lib/dis.py:242–244  ·  view source on GitHub ↗

Formatted details of methods, functions, or code.

(x)

Source from the content-addressed store, hash-verified

240 return co.co_code
241
242def code_info(x):
243 """Formatted details of methods, functions, or code."""
244 return _format_code_info(_get_code_object(x))
245
246def _format_code_info(co):
247 lines = []

Callers 1

show_codeFunction · 0.85

Calls 2

_format_code_infoFunction · 0.85
_get_code_objectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…