<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def token_delete(remote, token=''):
 """Remove OAuth access tokens from session. :param remote: The remote application. :param token: Type of token to get. Data passed from ``oauth.request()`` to identify which token to retrieve. (Default: ``''``) :returns: The token. """

    session_key = token_session_key(remote.name)
    return session.pop(session_key, None)