#NEWLINE# def _error_on_double_remove( self , callback , callbacks ) : #NEWLINE# #INDENT# if ( callback not in callbacks ) : #NEWLINE# #INDENT# raise ValueError ( "Removing a callback twice (or after it's already been run)" )