def right(method):
 def _inner(self, other):
  return method(other, self)
 return _inner

def right ( method ) : def _inner ( self , other ) : return method ( other , self ) return _inner
wrapper to create right version of operator given left version .