MCPcopy Create free account
hub / github.com/webpy/webpy / get_node_attr

Method get_node_attr

web/template.py:1429–1430  ·  view source on GitHub ↗
(self, node)

Source from the content-addressed store, hash-verified

1427 )
1428
1429 def get_node_attr(self, node):
1430 return "attr" in node._fields and node.attr or None
1431
1432 def get_node_lineno(self, node):
1433 return (node.lineno) and node.lineno or 0

Callers 2

visit_AttributeMethod · 0.95
check_assign_targetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected