#NEWLINE# def __new__( cls , p1 , p2 , **kwargs ) : #NEWLINE# #INDENT# p1 = Point3D ( p1 ) #NEWLINE# p2 = Point3D ( p2 ) #NEWLINE# if ( p1 == p2 ) : #NEWLINE# #INDENT# raise ValueError ( ( '%s.__new__ requires two unique Points.' % p1 . __name__ ) ) #NEWLINE# #UNINDENT# return GeometryEntity . __new__ ( cls , p1 , p2 , ** kwargs )