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

Function code_info

Lib/dis.py:241–243  ·  view source on GitHub ↗

Formatted details of methods, functions, or code.

(x)

Source from the content-addressed store, hash-verified

239 return co.co_code
240
241def code_info(x):
242 """Formatted details of methods, functions, or code."""
243 return _format_code_info(_get_code_object(x))
244
245def _format_code_info(co):
246 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