diff options
Diffstat (limited to 'Lib/idlelib/PathBrowser.py')
-rw-r--r-- | Lib/idlelib/PathBrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/PathBrowser.py b/Lib/idlelib/PathBrowser.py index 9404868..58ff830 100644 --- a/Lib/idlelib/PathBrowser.py +++ b/Lib/idlelib/PathBrowser.py @@ -1,6 +1,5 @@ import os import sys -import re import importlib.machinery from idlelib.TreeWidget import TreeItem @@ -97,6 +96,7 @@ class DirBrowserTreeItem(TreeItem): def _path_browser(parent): flist = PyShellFileList(parent) PathBrowser(flist, _htest=True) + parent.mainloop() if __name__ == "__main__": from unittest import main |