MCPcopy Index your code
hub / github.com/bpython/bpython / _reset_timer

Method _reset_timer

bpython/urwid.py:205–209  ·  view source on GitHub ↗

Reset the timer from message.

(self)

Source from the content-addressed store, hash-verified

203 self.timer = self.main_loop.set_alarm_in(n, self._check)
204
205 def _reset_timer(self):
206 """Reset the timer from message."""
207 if self.timer is not None:
208 self.main_loop.remove_alarm(self.timer)
209 self.timer = None
210
211 def prompt(self, s=None, single=False):
212 """Prompt the user for some input (with the optional prompt 's'). After

Callers 2

promptMethod · 0.95
settextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected