#NEWLINE# def addPoint( self , point ) : #NEWLINE# #INDENT# if ( point . points and ( point == self . points [ 0 ] ) ) : #NEWLINE# #INDENT# self . close ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . points . append ( point )