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

Method set_down

Lib/test/test_bdb.py:157–162  ·  view source on GitHub ↗

Move down in the frame stack.

(self)

Source from the content-addressed store, hash-verified

155 self.frame = self.stack[self.index][0]
156
157 def set_down(self):
158 """Move down in the frame stack."""
159 if self.index + 1 == len(self.stack):
160 raise BdbError('Newest frame')
161 self.index += 1
162 self.frame = self.stack[self.index][0]
163
164class Tracer(Bdb):
165 """A tracer for testing the bdb module."""

Callers

nothing calls this directly

Calls 1

BdbErrorClass · 0.85

Tested by

no test coverage detected