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

Function _disassemble_str

Lib/dis.py:922–924  ·  view source on GitHub ↗

Compile the source string, then disassemble the code object.

(source, **kwargs)

Source from the content-addressed store, hash-verified

920 formatter.print_exception_table(exception_entries)
921
922def _disassemble_str(source, **kwargs):
923 """Compile the source string, then disassemble the code object."""
924 _disassemble_recursive(_try_compile(source, '<dis>'), **kwargs)
925
926disco = disassemble # XXX For backwards compatibility
927

Callers 1

disFunction · 0.85

Calls 2

_disassemble_recursiveFunction · 0.85
_try_compileFunction · 0.85

Tested by

no test coverage detected