def _prep_stack_for_depth(self, depth):
while depth <= self._stack[-<NUM_LIT:1>][<NUM_LIT:0>]:<EOL><INDENT>self._stack.pop()<EOL><DEDENT>
Pop everything off the stack that is not shorter than the given depth.