mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
[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:
parent
429b3b1188
commit
b650194652
7 changed files with 44 additions and 37 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue