def infer_enum(node, context=None):
 enum_meta = nodes.Class('EnumMeta', 'docstring')
 class_node = infer_func_form(node, enum_meta, context=context, enum=True)[0]
 return iter([class_node.instanciate_class()])

def infer_enum ( node , context = None ) : enum_meta = nodes . Class ( 'EnumMeta' , 'docstring' ) class_node = infer_func_form ( node , enum_meta , context = context , enum = True ) [ 0 ] return iter ( [ class_node . instanciate_class ( ) ] )
specific inference function for enum callfunc node .