From 058de11360ea6816a6e978c7be0bcbea99a3f7da Mon Sep 17 00:00:00 2001 From: Cheryl Sabella Date: Fri, 22 Sep 2017 16:08:44 -0400 Subject: bpo-1612262: IDLE: Class Browser shows nested functions, classes (#2573) Original patches for code and tests by Guilherme Polo and Cheryl Sabella, respectively. --- Lib/idlelib/pathbrowser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Lib/idlelib/pathbrowser.py') diff --git a/Lib/idlelib/pathbrowser.py b/Lib/idlelib/pathbrowser.py index 6c19508d31..598dff8d56 100644 --- a/Lib/idlelib/pathbrowser.py +++ b/Lib/idlelib/pathbrowser.py @@ -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): -- cgit v1.2.1