mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
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:
parent
99167f85b7
commit
cd99e79dc7
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