

def PopState(self, **_):
    'Pop the previous state from the stack.'
    try:
        self.state = self.state_stack.pop()
        if self.verbose:
            logging.debug('Returned state to %s', self.state)
        return self.state
    except IndexError:
        _.Error('Tried to pop the state but failed - possible recursion error')

dataset/ETHPy150Open google/grr/grr/lib/lexer.py Lexer.PopState/VarMisuse@61/91 `self`->`_`