def __init__(self, *v, **a): self.lamone = EL(self.Tag) if v: self.lamone.extend(*v) if a: self.lamone.modify(**a)
class lamone(object): Tag = '' def __init__(self, *v, **a): self.lamone = EL(self.Tag) if v: self.lamone.extend(*v) if a: self.lamone.modify(**a) def startswith(self, s): return self.lamone.startswith(s) def __call__(self, *v, **a): if v: self.lamone.extend(*v) if a: self.lamone.modify(**a) return self def __getitem__(self, cls): self.lamone[cls] return self def __str__(self): return str(self.lamone) def nohead(self): self.lamone.nohead() return self