def parse_enum(key, value, enumeration):
 return parse_enum_csv(key, value, enumeration, 1)[0]

def parse_enum ( key , value , enumeration ) : return parse_enum_csv ( key , value , enumeration , 1 ) [ 0 ]
provides the enumeration value for a given key .