#NEWLINE# def remove_provider( self , provider ) : #NEWLINE# #INDENT# " Remove an extension provider.\n\n        Raise a 'ValueError' if the provider is not in the registry.\n\n        " #NEWLINE# events = self . _remove_provider ( provider ) #NEWLINE# for ( extension_point_id , ( refs , removed , index ) ) in events . items ( ) : #NEWLINE# #INDENT# self . _call_listeners ( refs , extension_point_id , [ ] , removed , index ) #NEWLINE# #UNINDENT# return