Add close() method that breaks a cycle.

This commit is contained in:
Guido van Rossum 1999-06-25 16:02:22 +00:00
parent 7ea8f8404c
commit e689f0087e
3 changed files with 23 additions and 4 deletions

View file

@ -32,6 +32,9 @@ class CallTips:
else:
self._make_calltip_window = self._make_tk_calltip_window
def close(self):
self._make_calltip_window = None
# Makes a Tk based calltip window. Used by IDLE, but not Pythonwin.
# See __init__ above for how this is used.
def _make_tk_calltip_window(self):