def _get_cudafft():
 try:
  from skcuda import fft
 except ImportError:
  try:
   from scikits.cuda import fft
  except ImportError:
   fft = None
 return fft

def _get_cudafft ( ) : try : from skcuda import fft except ImportError : try : from scikits . cuda import fft except ImportError : fft = None return fft
deal with scikit-cuda namespace change .