Merge Py Idle changes:
Rev 1.4 tim_one Convert a pile of obvious "yes/no" functions to return bool
This commit is contained in:
parent
6b06f29d09
commit
33931ef1a6
|
@ -59,7 +59,7 @@ class ObjectTreeItem(TreeItem):
|
|||
|
||||
class InstanceTreeItem(ObjectTreeItem):
|
||||
def IsExpandable(self):
|
||||
return 1
|
||||
return True
|
||||
def GetSubList(self):
|
||||
sublist = ObjectTreeItem.GetSubList(self)
|
||||
sublist.insert(0,
|
||||
|
@ -68,7 +68,7 @@ class InstanceTreeItem(ObjectTreeItem):
|
|||
|
||||
class ClassTreeItem(ObjectTreeItem):
|
||||
def IsExpandable(self):
|
||||
return 1
|
||||
return True
|
||||
def GetSubList(self):
|
||||
sublist = ObjectTreeItem.GetSubList(self)
|
||||
if len(self.object.__bases__) == 1:
|
||||
|
|
Loading…
Reference in New Issue