def get_infos(dir_name):
 infos = [i for i in iter_docstring_info(dir_name)]
 infos.sort(key=(lambda x: x['source']))
 for (num, info) in enumerate(infos):
  info['num'] = num
  enhance_info_description(info)
 return infos

def get_infos ( dir_name ) : infos = [ i for i in iter_docstring_info ( dir_name ) ] infos . sort ( key = ( lambda x : x [ 'source' ] ) ) for ( num , info ) in enumerate ( infos ) : info [ 'num' ] = num enhance_info_description ( info ) return infos
return infos .