summaryrefslogtreecommitdiff
path: root/Lib/idlelib/pathbrowser.py
diff options
context:
space:
mode:
authorCheryl Sabella <cheryl.sabella@gmail.com>2017-09-22 16:08:44 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2017-09-22 16:08:44 -0400
commit058de11360ea6816a6e978c7be0bcbea99a3f7da (patch)
tree7aed31aa7ec2c8dc6c8afe82c6ab704722a0ca84 /Lib/idlelib/pathbrowser.py
parent0a1ff24acfc15d8c7f2dc41000a6f3d9a31e7480 (diff)
downloadcpython-git-058de11360ea6816a6e978c7be0bcbea99a3f7da.tar.gz
bpo-1612262: IDLE: Class Browser shows nested functions, classes (#2573)
Original patches for code and tests by Guilherme Polo and Cheryl Sabella, respectively.
Diffstat (limited to 'Lib/idlelib/pathbrowser.py')
-rw-r--r--Lib/idlelib/pathbrowser.py3
1 files changed, 2 insertions, 1 deletions
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):