mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
bpo-1612262: IDLE: Class Browser shows nested functions, classes (#2573)
Original patches for code and tests by Guilherme Polo and Cheryl Sabella, respectively.
This commit is contained in:
parent
0a1ff24acf
commit
058de11360
4 changed files with 328 additions and 156 deletions
|
@ -9,11 +9,12 @@ from idlelib.tree import TreeItem
|
|||
|
||||
class PathBrowser(ClassBrowser):
|
||||
|
||||
def __init__(self, flist, _htest=False):
|
||||
def __init__(self, flist, _htest=False, _utest=False):
|
||||
"""
|
||||
_htest - bool, change box location when running htest
|
||||
"""
|
||||
self._htest = _htest
|
||||
self._utest = _utest
|
||||
self.init(flist)
|
||||
|
||||
def settitle(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue