#NEWLINE# def update_coordinates( self ) : #NEWLINE# #INDENT# if hasattr ( self , 'canvas' ) : #NEWLINE# #INDENT# pts = [ c for p in self . pts for c in p ] #NEWLINE# self . canvas . coords ( self . id , * pts )