175
175
print >>self.stdout, '--Return--'
176
176
self.interaction(frame, None)
178
def user_exception(self, frame, (exc_type, exc_value, exc_traceback)):
179
180
"""This function is called if an exception occurs,
180
181
but only if we are to stop at or just below this level."""
181
182
frame.f_locals['__exception__'] = exc_type, exc_value