diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2017-09-23 21:16:47 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2017-09-23 21:16:47 (GMT) |
commit | b650194652a591503f97c15f8f4c0b08c05058c5 (patch) | |
tree | 3c42521f7f71736fc61f1ea5670d75cc62f38b4d /Lib/idlelib/pathbrowser.py | |
parent | 429b3b1188cfac654677e8aeed494bb6067c475f (diff) | |
download | cpython-b650194652a591503f97c15f8f4c0b08c05058c5.zip cpython-b650194652a591503f97c15f8f4c0b08c05058c5.tar.gz cpython-b650194652a591503f97c15f8f4c0b08c05058c5.tar.bz2 |
[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 cd99e79dc74c9d9dea83a5551d657c334b2cc6c9)
Diffstat (limited to 'Lib/idlelib/pathbrowser.py')
-rw-r--r-- | Lib/idlelib/pathbrowser.py | 4 |
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): """ |