def _noconds_(default):
 def make_wrapper(func):
  from sympy.core.decorators import wraps
  @wraps(func)
  def wrapper(*args, **kwargs):
   noconds = kwargs.pop('noconds', default)
   res = func(*args, **kwargs)
   if noconds:
    return res[0]
   return res
  return wrapper
 return make_wrapper

def _noconds_ ( default ) : def make_wrapper ( func ) : from sympy . core . decorators import wraps @ wraps ( func ) def wrapper ( * args , ** kwargs ) : noconds = kwargs . pop ( 'noconds' , default ) res = func ( * args , ** kwargs ) if noconds : return res [ 0 ] return res return wrapper return make_wrapper
this is a decorator generator for dropping convergence conditions .