mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Add close() method that breaks a cycle.
This commit is contained in:
parent
7ea8f8404c
commit
e689f0087e
3 changed files with 23 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue