def setAttributes(node: dom.Node, attributes: ts.Mapping[str, ts.Any]): """Set attributes of a node.""" for item in attributes.items(): node.setAttribute(*item)
def setAttributes(node: dom.Node, attributes: ts.Mapping[str, ts.Any]): """Set attributes of a node.""" for item in attributes.items(): node.setAttribute(*item)