MCPcopy 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

_warnFunction · 0.45
print_excFunction · 0.45
__getattr__Method · 0.45
__init__Method · 0.45
test_addMethod · 0.45
test_attach_detachMethod · 0.45
_fill_cacheMethod · 0.45
_has_deadlockedFunction · 0.45

Calls 2

strFunction · 0.85
after_idleMethod · 0.80

Tested by 2

test_addMethod · 0.36
test_attach_detachMethod · 0.36