#NEWLINE# def __setslice__( self , start , stop , values ) : #NEWLINE# #INDENT# 'Sets the subset of items from between the specified indices.' #NEWLINE# new_values = [ ] #NEWLINE# for value in values : #NEWLINE# #INDENT# new_values . append ( self . _type_checker . CheckValue ( value ) ) #NEWLINE# #UNINDENT# self . _values [ start : stop ] = new_values #NEWLINE# self . _message_listener . Modified ( )