Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
15
def
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_cmd
Method · 0.90
push_char
Method · 0.90
get_terminal_keycodes
Function · 0.90
__init__
Method · 0.90
insert
Method · 0.90
push
Method · 0.90
prepare
Method · 0.90
interactive_console
Function · 0.90
Calls
3
format
Method · 0.45
write
Method · 0.45
flush
Method · 0.45
Tested by
no test coverage detected