MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / show_code

Function show_code

tools/python-3.11.9-amd64/Lib/dis.py:226–231  ·  view source on GitHub ↗

Print details of methods, functions, or code to *file*. If *file* is not provided, the output is printed on stdout.

(co, *, file=None)

Source from the content-addressed store, hash-verified

224 return "\n".join(lines)
225
226def show_code(co, *, file=None):
227 """Print details of methods, functions, or code to *file*.
228
229 If *file* is not provided, the output is printed on stdout.
230 """
231 print(code_info(co), file=file)
232
233Positions = collections.namedtuple(
234 'Positions',

Callers

nothing calls this directly

Calls 2

code_infoFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected