def extract_memory_position(argument):
    """
    Extract a memory position from a memory index argument.

    See :func:`~.is_memory_index` for details of what a memory index is.

    Args:
        argument (str): The argument to extract a memory position from.
    Returns:
        str: The location in memory being referenced.
    """
    return argument[1:-1]
