Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ add
Method
add
Lib/idlelib/window.py:11–13 ·
view source on GitHub ↗
(self, window)
Source
from the content-addressed store, hash-verified
9
self.callbacks = []
10
11
def
add(self, window):
12
window.after_idle(self.call_callbacks)
13
self.dict[str(window)] = window
14
15
def
delete(self, window):
16
try
:
Callers
8
_warn
Function · 0.45
print_exc
Function · 0.45
__getattr__
Method · 0.45
__init__
Method · 0.45
test_add
Method · 0.45
test_attach_detach
Method · 0.45
_fill_cache
Method · 0.45
_has_deadlocked
Function · 0.45
Calls
2
str
Function · 0.85
after_idle
Method · 0.80
Tested by
2
test_add
Method · 0.36
test_attach_detach
Method · 0.36