MCPcopy Index your code
hub / github.com/python/cpython / set_up

Method set_up

Lib/test/test_bdb.py:150–155  ·  view source on GitHub ↗

Move up in the frame stack.

(self)

Source from the content-addressed store, hash-verified

148 raise BdbError(err)
149
150 def set_up(self):
151 """Move up in the frame stack."""
152 if not self.index:
153 raise BdbError('Oldest frame')
154 self.index -= 1
155 self.frame = self.stack[self.index][0]
156
157 def set_down(self):
158 """Move down in the frame stack."""

Callers

nothing calls this directly

Calls 1

BdbErrorClass · 0.85

Tested by

no test coverage detected