summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/pathbrowser.py
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2017-09-23 20:46:01 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2017-09-23 20:46:01 (GMT)
commitcd99e79dc74c9d9dea83a5551d657c334b2cc6c9 (patch)
tree23aa523413523630c5676cf732476dc7e8dd47fd /Lib/idlelib/pathbrowser.py
parent99167f85b7373c8082b30a74211f009627bdedfa (diff)
downloadcpython-cd99e79dc74c9d9dea83a5551d657c334b2cc6c9.zip
cpython-cd99e79dc74c9d9dea83a5551d657c334b2cc6c9.tar.gz
cpython-cd99e79dc74c9d9dea83a5551d657c334b2cc6c9.tar.bz2
bpo-31459: Rename IDLE's module browser from Class Browser to Module Browser. (#3704)
The original module-level class and method browser became a module browser, with the addition of module-level functions, years ago. Nested classes and functions were added yesterday. For back- compatibility, the virtual event <<open-class-browser>>, which appears on the Keys tab of the Settings dialog, is not changed. Patch by Cheryl Sabella.
Diffstat (limited to 'Lib/idlelib/pathbrowser.py')
-rw-r--r--Lib/idlelib/pathbrowser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/pathbrowser.py b/Lib/idlelib/pathbrowser.py
index 598dff8..b0c8c6d 100644
--- a/Lib/idlelib/pathbrowser.py
+++ b/Lib/idlelib/pathbrowser.py
@@ -2,12 +2,12 @@ import importlib.machinery
import os
import sys
-from idlelib.browser import ClassBrowser, ModuleBrowserTreeItem
+from idlelib.browser import ModuleBrowser, ModuleBrowserTreeItem
from idlelib.pyshell import PyShellFileList
from idlelib.tree import TreeItem
-class PathBrowser(ClassBrowser):
+class PathBrowser(ModuleBrowser):
def __init__(self, flist, _htest=False, _utest=False):
"""