#NEWLINE# def add( self , resource ) : #NEWLINE# #INDENT# 'Add a resource change or an iterable collection of them to \n        this ChangeList\n      \n        Allows multiple resource_change objects for the same \n        resource (ie. URI) and preserves the order of addition.\n        ' #NEWLINE# if isinstance ( resource , collections . Iterable ) : #NEWLINE# #INDENT# for r in self : #NEWLINE# #INDENT# self . add_if_changed ( r ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . add_if_changed ( resource )