#NEWLINE# def set_edit_point( self , i , pt ) : #NEWLINE# #INDENT# if ( i == 0 ) : #NEWLINE# #INDENT# self . set_point_by_index ( i , pt ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( ( 'No point corresponding to index %d' % i ) )