diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2017-09-22 21:28:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-22 21:28:01 (GMT) |
commit | fa1cae5832cbcfafedc4b1879c2abc85452f4edd (patch) | |
tree | 73d41f20b90099ff832ba87e5695a944b2a9c497 /Lib/idlelib/pathbrowser.py | |
parent | 6de35849cb7a18bfaad828eb57a2e6caa7978690 (diff) | |
download | cpython-fa1cae5832cbcfafedc4b1879c2abc85452f4edd.zip cpython-fa1cae5832cbcfafedc4b1879c2abc85452f4edd.tar.gz cpython-fa1cae5832cbcfafedc4b1879c2abc85452f4edd.tar.bz2 |
[3.6] bpo-1612262: IDLE: Class Browser shows nested functions, classes (GH-2573) (#3702)
Original patches for code and tests by Guilherme Polo and
Cheryl Sabella, respectively.
(cherry picked from commit 058de11360ea6816a6e978c7be0bcbea99a3f7da)
Diffstat (limited to 'Lib/idlelib/pathbrowser.py')
-rw-r--r-- | Lib/idlelib/pathbrowser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/pathbrowser.py b/Lib/idlelib/pathbrowser.py index 6c19508..598dff8 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): |