def PopState(self, **_):
    try:
      self.state = self.state_stack.pop()
      if self.verbose:
        logging.debug("Returned state to %s", self.state)

      return self.state
    except IndexError:
      self.Error("Tried to pop the state but failed - possible recursion error")
:rtype: `str`
dataset/ETHPy150Open google/grr/grr/lib/lexer.py/Lexer.PopState--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/SelectionSet.__repr__