

def __call__(self, *children, **kw):
    '\n        Add children and change attributes on this tag.\n\n        This is implemented using __call__ because it then allows the natural\n        syntax::\n\n          table(tr1, tr2, width="100%", height="50%", border="1")\n\n        Children may be other tag instances, strings, functions, or any other\n        object which has a registered flatten.\n\n        Attributes may be \'transparent\' tag instances (so that\n        C{a(href=transparent(data="foo", render=myhrefrenderer))} works),\n        strings, functions, or any other object which has a registered\n        flattener.\n\n        If the attribute is a python keyword, such as \'class\', you can add an\n        underscore to the name, like \'class_\'.\n\n        There is one special keyword argument, \'render\', which will be used as\n        the name of the renderer and saved as the \'render\' attribute of this\n        instance, rather than the DOM \'render\' attribute in the attributes\n        dictionary.\n        '
    self.children.extend(children)
    for (k, v) in kw.iteritems():
        if (k[(- 1)] == '_'):
            k = k[:(- 1)]
        if (k == 'render'):
            self.render = v
        else:
            self.attributes[k] = children
    return self

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/_stan.py Tag.__call__/VarMisuse@96/454 `v`->`children`