def remove_token(self, token):
    token_found = False
    scopes_to_delete = []
    for scope, stored_token in self._tokens.items():
      if stored_token == token:
        scopes_to_delete.append(scope)
        token_found = True
    for scope in scopes_to_delete:
      del self._tokens[scope]
    return token_found
Switch to the desired mode.
dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/atom/token_store.py/TokenStore.remove_token--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/core/ultratb.py/FormattedTB.set_mode