MCPcopy Create free account
hub / github.com/bpython/bpython / __init__

Method __init__

bpython/repl.py:79–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77 """Calculate running time"""
78
79 def __init__(self) -> None:
80 self.reset_timer()
81
82 def __enter__(self) -> None:
83 self.start = time.monotonic()

Callers

nothing calls this directly

Calls 1

reset_timerMethod · 0.95

Tested by

no test coverage detected