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

Function trace

Lib/_pyrepl/trace.py:15–21  ·  view source on GitHub ↗
(line: str, *k: object, **kw: object)

Source from the content-addressed store, hash-verified

13
14
15def trace(line: str, *k: object, **kw: object) -> None:
16 if trace_file is None:
17 return
18 if k or kw:
19 line = line.format(*k, **kw)
20 trace_file.write(line + "\n")
21 trace_file.flush()

Callers 8

do_cmdMethod · 0.90
push_charMethod · 0.90
get_terminal_keycodesFunction · 0.90
__init__Method · 0.90
insertMethod · 0.90
pushMethod · 0.90
prepareMethod · 0.90
interactive_consoleFunction · 0.90

Calls 3

formatMethod · 0.45
writeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected