def __init__(self, node, **kwargs): Object.__init__(self) self.node = node self.data = None self.text = None for k,v in kwargs.items(): setattr(self, k, v)
def __init__(self, node, **kwargs): Object.__init__(self) self.node = node self.data = None self.text = None for k, v in kwargs.items(): setattr(self, k, v)
def __init__(self): """ """ Object.__init__(self) self.mustUnderstand = True self.tokens = [] self.signatures = [] self.references = [] self.keys = []
def __init__(self, tag=None, value=None, **kwargs): """ @param tag: The content tag. @type tag: str @param value: The content's value. @type value: I{any} """ Object.__init__(self) self.tag = tag self.value = value for k,v in kwargs.items(): setattr(self, k, v)
def __init__(self, tag=None, value=None, **kwargs): """ @param tag: The content tag. @type tag: str @param value: The content's value. @type value: I{any} """ Object.__init__(self) self.tag = tag self.value = value for k, v in kwargs.items(): setattr(self, k, v)
def __init__(self, root, definitions=None): """ @param root: An XML root element. @type root: L{Element} @param definitions: A definitions object. @type definitions: L{Definitions} """ Object.__init__(self) self.root = root pmd = Metadata() pmd.excludes = ['root'] pmd.wrappers = dict(qname=repr) self.__metadata__.__print__ = pmd
def __init__(self): Object.__init__(self)