def njit(*args, **kws):
 if ('nopython' in kws):
  warnings.warn('nopython is set for njit and is ignored', RuntimeWarning)
 if ('forceobj' in kws):
  warnings.warn('forceobj is set for njit and is ignored', RuntimeWarning)
 kws.update({'nopython': True})
 return jit(*args, **kws)

def njit ( * args , ** kws ) : if ( 'nopython' in kws ) : warnings . warn ( 'nopython is set for njit and is ignored' , RuntimeWarning ) if ( 'forceobj' in kws ) : warnings . warn ( 'forceobj is set for njit and is ignored' , RuntimeWarning ) kws . update ( { 'nopython' : True } ) return jit ( * args , ** kws )
equivalent to jit see documentation for jit function/decorator for full description .