def process_python_symbol_data(oedata):
 symbol_list = []
 for key in oedata:
  val = oedata[key]
  if (val and (key != 'found_cell_separators')):
   if val.is_class_or_function():
    symbol_list.append((key, val.def_name, val.fold_level, val.get_token()))
 return sorted(symbol_list)

def process_python_symbol_data ( oedata ) : symbol_list = [ ] for key in oedata : val = oedata [ key ] if ( val and ( key != 'found_cell_separators' ) ) : if val . is_class_or_function ( ) : symbol_list . append ( ( key , val . def_name , val . fold_level , val . get_token ( ) ) ) return sorted ( symbol_list )
returns a list with line number .