def __init__(self, name): """Initializes a new instance. @param name: Name of this node. """ d = {'name' : name} HiddenObject.__init__(self, d)
def __init__(self, mod_name, name): """Initializes a new instances. @param mod_name: Name of the external module that this node references to. @param name: Name of the node. """ d = {'name' : name, 'module' : mod_name} HiddenObject.__init__(self, d)