[3.6] bpo-31459: Rename IDLE's module browser from Class Browser to Module Browser. (GH-3704) (#3710)

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.
(cherry picked from commit cd99e79dc7)
This commit is contained in:
Miss Islington (bot) 2017-09-23 14:16:47 -07:00 committed by Terry Jan Reedy
parent 429b3b1188
commit b650194652
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):
"""