diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index 6dc075fbadadf2..a27076b0622a8e 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -47,7 +47,7 @@ def __init__(self, parent, title='', _htest=False, _utest=False): self.parent = parent if _htest: parent.instance_dict = {} - self.withdraw() + self.wm_withdraw() self.configure(borderwidth=5) self.title(title or 'IDLE Preferences')