def revoke(self, revoke_uri=None, refresh_token=None):
    base_revoke_uri = revoke_uri or self.revoke_uri
    refresh_token = refresh_token or self.refresh_token
    revoke_uri = atom.http_core.ParseUri(base_revoke_uri)
    revoke_uri.query['token'] = refresh_token
    http_client = atom.http_core.HttpClient()
    http_request = atom.http_core.HttpRequest(uri=revoke_uri, method='GET')
    response = http_client.request(http_request)
    if response.status != 200:
      raise OAuth2RevokeError(response)
    else:
      self._invalid = True
Extracts the modification operation from the set.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/gauth.py/OAuth2Token.revoke--crossover with--dataset/ETHPy150Open basho/riak-python-client/riak/datatypes/set.py/Set.to_op