[Idle-dev] CVS: idle ObjectBrowser.py,1.3,1.4

Kurt B. Kaiser kbk@users.sourceforge.net
Mon, 16 Sep 2002 15:16:08 -0700


Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv27517

Modified Files:
	ObjectBrowser.py 
Log Message:
Merge Py Idle changes:
Rev 1.4 tim_one
Convert a pile of obvious "yes/no" functions to return bool


Index: ObjectBrowser.py
===================================================================
RCS file: /cvsroot/idlefork/idle/ObjectBrowser.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ObjectBrowser.py	13 Jul 2001 17:57:37 -0000	1.3
--- ObjectBrowser.py	16 Sep 2002 22:16:05 -0000	1.4
***************
*** 60,64 ****
  class InstanceTreeItem(ObjectTreeItem):
      def IsExpandable(self):
!         return 1
      def GetSubList(self):
          sublist = ObjectTreeItem.GetSubList(self)
--- 60,64 ----
  class InstanceTreeItem(ObjectTreeItem):
      def IsExpandable(self):
!         return True
      def GetSubList(self):
          sublist = ObjectTreeItem.GetSubList(self)
***************
*** 69,73 ****
  class ClassTreeItem(ObjectTreeItem):
      def IsExpandable(self):
!         return 1
      def GetSubList(self):
          sublist = ObjectTreeItem.GetSubList(self)
--- 69,73 ----
  class ClassTreeItem(ObjectTreeItem):
      def IsExpandable(self):
!         return True
      def GetSubList(self):
          sublist = ObjectTreeItem.GetSubList(self)