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

Method reset_timer

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

Source from the content-addressed store, hash-verified

93 return False
94
95 def reset_timer(self) -> None:
96 self.running_time = 0.0
97 self.last_command = 0.0
98
99 def estimate(self) -> float:
100 return self.running_time - self.last_command

Callers 2

__init__Method · 0.95
undoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected