def __init__(self, find, max_length): """Initiallize.""" Construct.__init__(self) if not isinstance(find, list): find = [find] self.find = find self.max_length = max_length
def __init__(self, find, max_length): """Initiallize.""" Construct.__init__(self) self.find = find self.max_length = max_length
def __init__(self, name, factoryfunc): Construct.__init__(self, name, self.FLAG_COPY_CONTEXT) self.factoryfunc = factoryfunc self._set_flag(self.FLAG_DYNAMIC)
def __init__(self, name): Construct.__init__(self, name)
def __init__(self, name, find, maxLength): Construct.__init__(self, name) self.find = find self.maxLength = maxLength
def __init__(self, length=None, length_func=None, cons=None): Construct.__init__(self, None) self.length_func = length_func self.length = length self.cons = cons