def __eq__( self, other ):
    if self.__curve == other.__curve \
       and self.__x == other.__x \
       and self.__y == other.__y:
      return 1
    else:
      return 0
Return 1 if the points are identical, 0 otherwise.
dataset/ETHPy150Open richardkiss/pycoin/pycoin/ecdsa/ellipticcurve.py/Point.__eq__