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

Method delete

Lib/idlelib/window.py:15–21  ·  view source on GitHub ↗
(self, window)

Source from the content-addressed store, hash-verified

13 self.dict[str(window)] = window
14
15 def delete(self, window):
16 try:
17 del self.dict[str(window)]
18 except KeyError:
19 # Sometimes, destroy() is called twice
20 pass
21 self.call_callbacks()
22
23 def add_windows_to_menu(self, menu):
24 list = []

Callers 1

destroyMethod · 0.45

Calls 2

call_callbacksMethod · 0.95
strFunction · 0.85

Tested by

no test coverage detected