def __neg__ ( self ) : return self . __class__ ( self [ 0 ] , self . _curve . p ( ) - self [ 1 ] , self . _curve )
python negating a value
Unary negation
def __neg__(self):
        """Unary negation"""
        return self.__class__(self[0], self._curve.p()-self[1], self._curve)