def plat_specific_errors(*errnames):
 errno_names = dir(errno)
 nums = [getattr(errno, k) for k in errnames if (k in errno_names)]
 return list(dict.fromkeys(nums).keys())

def plat_specific_errors ( * errnames ) : errno_names = dir ( errno ) nums = [ getattr ( errno , k ) for k in errnames if ( k in errno_names ) ] return list ( dict . fromkeys ( nums ) . keys ( ) )
return error numbers for all errors in errnames on this platform .