MCPcopy Index your code
hub / github.com/python/cpython / restore_event

Method restore_event

Lib/idlelib/parenmatch.py:107–111  ·  view source on GitHub ↗

Remove effect of doing match.

(self, event=None)

Source from the content-addressed store, hash-verified

105 self.set_timeout_none)()
106
107 def restore_event(self, event=None):
108 "Remove effect of doing match."
109 self.text.tag_delete("paren")
110 self.deactivate_restore()
111 self.counter += 1 # disable the last timer, if there is one.
112
113 def handle_restore_timer(self, timer_count):
114 if timer_count == self.counter:

Callers 2

handle_restore_timerMethod · 0.95
test_paren_stylesMethod · 0.80

Calls 2

deactivate_restoreMethod · 0.95
tag_deleteMethod · 0.80

Tested by 1

test_paren_stylesMethod · 0.64