node.children.append(self.nodefrom(child))
def addattr(self, node, k, v):
node.children.append(self.nodefrom(child))
def addattr(self, node, k, v):
- def __init__(self, ns, elcls = element, ctx=None):
+ def __init__(self, ns, elcls=element, ctx=None):