<%inherit file="base.tmpl"/> % if isinstance(node, ast.Constant):
Value
${formatter.format_value(node)}
% endif % if isinstance(node, ast.Alias):
Equivalent Type
% if node.target.target_fundamental: ${formatter.format_fundamental_type(node.target.target_fundamental)} % else: ${node.target.target_giname} % endif
% endif ## This should belong in get_node_kind(), but we don't want to change the way ## all the other templates work. <%def name="extra_class()"> % if isinstance(node, ast.Constant): constant % elif isinstance(node, ast.Alias): alias % endif