def foo():
x = 1
isinstance(x, int)
return x
def bar():
foo()
bar()
Output:
Count Event Type Filename(function)
1 PY_CALL example.py(bar)
1 PY_START example.py(bar)
1 PY_CALL example.py(foo)
1 PY_START example.py(foo)
1 C_CALL example.py(<built-in function isinstance>)
1 C_RETURN example.py(foo)
1 PY_RETURN example.py(foo)
1 PY_RETURN example.py(bar)
Total number of events: 8
PY_CALL = 2
PY_START = 2
PY_RETURN = 2
C_CALL = 1
C_RETURN = 1
--- Synchronet 3.20a-Linux NewsLink 1.114
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 993 |
Nodes: | 10 (0 / 10) |
Uptime: | 208:07:47 |
Calls: | 12,972 |
Calls today: | 1 |
Files: | 186,574 |
Messages: | 3,268,395 |