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

Method finish_paren_event

Lib/idlelib/parenmatch.py:96–105  ·  view source on GitHub ↗
(self, indices)

Source from the content-addressed store, hash-verified

94 return # Allow calltips to see ')'
95
96 def finish_paren_event(self, indices):
97 if indices is None and self.BELL:
98 self.text.bell()
99 return
100 self.activate_restore()
101 # self.create_tag(indices)
102 self.tagfuncs.get(self.STYLE, self.create_tag_expression)(self, indices)
103 # self.set_timeout()
104 (self.set_timeout_last if self.FLASH_DELAY else
105 self.set_timeout_none)()
106
107 def restore_event(self, event=None):
108 "Remove effect of doing match."

Callers 2

flash_paren_eventMethod · 0.95
paren_closed_eventMethod · 0.95

Calls 3

activate_restoreMethod · 0.95
bellMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected