#NEWLINE# def remove_strategy( self , domain ) : #NEWLINE# #INDENT# "Remove the domain and strategy from the collection of strategies.\n\n        :param str domain: The domain you wish remove. For example,\n            ``'https://api.github.com'``.\n\n        .. code-block:: python\n\n            a = AuthHandler({'example.com', ('foo', 'bar')})\n            a.remove_strategy('example.com')\n            assert a.strategies == {}\n\n        " #NEWLINE# key = self . _key_from_url ( domain ) #NEWLINE# if ( key in self . strategies ) : #NEWLINE# #INDENT# del self . strategies [ key ]