Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ unregister_callback
Method
unregister_callback
Lib/idlelib/window.py:39–43 ·
view source on GitHub ↗
(self, callback)
Source
from the content-addressed store, hash-verified
37
self.callbacks.append(callback)
38
39
def
unregister_callback(self, callback):
40
try
:
41
self.callbacks.remove(callback)
42
except
ValueError:
43
pass
44
45
def
call_callbacks(self):
46
for
callback in self.callbacks:
Callers
1
_close
Method · 0.80
Calls
1
remove
Method · 0.45
Tested by
no test coverage detected