(self)
Reset temporary variables and return a (mutable) deque to use as stack.
Reset temporary variables and return a (mutable) deque to use as stack.
Reset temporary variables and return a ( mutable ) deque to use as stack .
def get_stack(self):
        """Reset temporary variables and return a (mutable) deque to use as stack."""
        self._stack.append(deque())
        yield self._stack[-1]
        self._stack.pop()
def get_stack ( self ) : self . _stack . append ( deque ( ) ) yield self . _stack [ - 1 ] self . _stack . pop ( )