def update(self, level):
sl = level + <NUM_LIT:1><EOL>stack = inspect.stack()<EOL>try:<EOL><INDENT>self._get_vars(stack[:sl], scopes=['<STR_LIT>'])<EOL><DEDENT>finally:<EOL><INDENT>del stack[:], stack<EOL><DEDENT>
Update the current scope by going back `level` levels.

        Parameters
        ----------
        level : int or None, optional, default None