def _get_func(func, ps='sdzc'):
 for p in ps:
  f = getattr(fblas, (p + func), None)
  if (f is None):
   continue
  (yield f)

def _get_func ( func , ps = 'sdzc' ) : for p in ps : f = getattr ( fblas , ( p + func ) , None ) if ( f is None ) : continue ( yield f )
just a helper: return a specified blas function w/typecode .