Initial revision

This commit is contained in:
Hans Lambermont
2002-10-12 11:37:38 +00:00
commit 12315f4d0e
1699 changed files with 444708 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
'''
Hierarchic 'Dummy' objects
'''
import hierobj, dummy
class HierobjDummy(hierobj.Hierobj,dummy.Dummy):
'''
An Hierarchic Dummy object, which provides direct access to its
children through object[x] interfaces, allows "index" "count"
etceteras by returning the corresponding attributes of the _base.
'''
def __init__(self, parent=None, childlist=None):
hierobj.Hierobj.__init__(self, parent, childlist)
self._base = self.__childlist__ #set by init function above