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

Method unbind

Lib/idlelib/multicall.py:231–236  ·  view source on GitHub ↗
(self, triplet, func)

Source from the content-addressed store, hash-verified

229 self.doafterhandler.append(doit)
230
231 def unbind(self, triplet, func):
232 doit = lambda: self.bindedfuncs[triplet[2]][triplet[0]].remove(func)
233 if not self.ishandlerrunning:
234 doit()
235 else:
236 self.doafterhandler.append(doit)
237
238 def __del__(self):
239 for seq, id in self.handlerids:

Callers

nothing calls this directly

Calls 3

doitFunction · 0.50
removeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected