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

Method __del__

Lib/idlelib/multicall.py:402–411  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

400 widget.event_info(self, virtual)
401
402 def __del__(self):
403 for virtual in self.__eventinfo:
404 func, triplets = self.__eventinfo[virtual]
405 if func:
406 for triplet in triplets:
407 try:
408 self.__binders[triplet[1]].unbind(triplet, func)
409 except tkinter.TclError as e:
410 if not APPLICATION_GONE in e.args[0]:
411 raise
412
413 _multicall_dict[widget] = MultiCall
414 return MultiCall

Callers 3

tearDownMethod · 0.45
test_delMethod · 0.45
test_del_with_timerMethod · 0.45

Calls 1

unbindMethod · 0.45

Tested by 3

tearDownMethod · 0.36
test_delMethod · 0.36
test_del_with_timerMethod · 0.36