[Python-checkins] python/dist/src/Tools/idle ClassBrowser.py,1.15,1.16
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
Wed, 22 Jan 2003 05:29:02 -0800
Update of /cvsroot/python/python/dist/src/Tools/idle
In directory sc8-pr-cvs1:/tmp/cvs-serv31010
Modified Files:
ClassBrowser.py
Log Message:
Kurt pointed out another method affected by the changes to pyclbr.py.
Index: ClassBrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/ClassBrowser.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** ClassBrowser.py 18 Jan 2003 22:53:36 -0000 1.15
--- ClassBrowser.py 22 Jan 2003 13:29:00 -0000 1.16
***************
*** 143,148 ****
def IsExpandable(self):
! if self.cl:
! return not not self.cl.methods
def GetSubList(self):
--- 143,150 ----
def IsExpandable(self):
! try:
! return bool(self.cl.methods)
! except AttributeError:
! return False
def GetSubList(self):