def __init__(self, oInstance): object.__setattr__(self, 'ParentInstance', oInstance) NodeCollection.__init__(self)
def __init__(self, oInstance, oProject): object.__setattr__(self, 'ParentInstance', oInstance) object.__setattr__(self, 'ParentProject', oProject) NodeCollection.__init__(self)