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

Method close

Lib/idlelib/colorizer.py:213–220  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

211 return
212
213 def close(self):
214 if self.after_id:
215 after_id = self.after_id
216 self.after_id = None
217 if DEBUG: print("cancel scheduled recolorizer")
218 self.after_cancel(after_id)
219 self.allow_colorizing = False
220 self.stop_colorizing = True
221
222 def toggle_colorize_event(self, event=None):
223 """Toggle colorizing on and off.

Callers

nothing calls this directly

Calls 1

after_cancelMethod · 0.80

Tested by

no test coverage detected