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

Method __del__

Lib/idlelib/codecontext.py:84–91  ·  view source on GitHub ↗

Cancel scheduled events.

(self)

Source from the content-addressed store, hash-verified

82 default=15)
83
84 def __del__(self):
85 "Cancel scheduled events."
86 if self.t1 is not None:
87 try:
88 self.text.after_cancel(self.t1)
89 except TclError: # pragma: no cover
90 pass
91 self.t1 = None
92
93 def toggle_code_context_event(self, event=None):
94 """Toggle code context display.

Callers

nothing calls this directly

Calls 1

after_cancelMethod · 0.80

Tested by

no test coverage detected