#NEWLINE# def __eq__( self , other ) : #NEWLINE# #INDENT# 'Compare the two rects.\n\n        >>> r1 = Rect(0, 0, 10, 10)\n        >>> r1 == Rect(0, 0, 10, 10)\n        True\n        >>> r1 == Rect(1, 0, 10, 10)\n        False\n        >>> r1 == Rect(0, 1, 10, 10)\n        False\n        >>> r1 == Rect(0, 0, 11, 10)\n        False\n        >>> r1 == Rect(0, 0, 10, 11)\n        False\n        ' #NEWLINE# return ( ( self . x == other . x ) and ( self . y == other . y ) and ( self . width == other . width ) and ( self . height == other . height ) )