def strip_self(f):
 def wrapper(self, *args, **kwargs):
  return f(*args, **kwargs)
 return wrapper

def strip_self ( f ) : def wrapper ( self , * args , ** kwargs ) : return f ( * args , ** kwargs ) return wrapper
wrapper to attach module level functions to base class .