As far as I understand, this function is called when we've already matched a call against the builtin's pattern (so we've taken account of the context), and we're about to call the underlying Python function. The `vars` dict here is keyed with the full names of the match variables - this added code just strips the contexts from the names so the Python keyword arguments work.