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.
This commit is contained in:
Cheryl Sabella 2017-09-23 16:46:01 -04:00 committed by Terry Jan Reedy
parent 99167f85b7
commit cd99e79dc7
7 changed files with 44 additions and 37 deletions

View file

@ -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):
"""