#NEWLINE# def customRemove( self , object ) : #NEWLINE# #INDENT# '\n\n\n        :param object:\n        :return:\n        ' #NEWLINE# obj = self . olv . GetObjects ( ) #NEWLINE# if isinstance ( object , list ) : #NEWLINE# #INDENT# for x in object : #NEWLINE# #INDENT# obj . remove ( x ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# obj . remove ( object ) #NEWLINE# #UNINDENT# self . olv . SetObjects ( obj )