From 44ad464f96a8e1c9175df34a18d871ac613667db 2008-09-05 23:42:46 From: gvaroquaux Date: 2008-09-05 23:42:46 Subject: [PATCH] Better display of exception: do not display the calling code in the traceback. --- diff --git a/IPython/frontend/prefilterfrontend.py b/IPython/frontend/prefilterfrontend.py index 9ae5bc4..ad6ce13 100644 --- a/IPython/frontend/prefilterfrontend.py +++ b/IPython/frontend/prefilterfrontend.py @@ -118,7 +118,7 @@ This is the wx frontend, by Gael Varoquaux. This is EXPERIMENTAL code.""" """ Use ipython0 to capture the last traceback and display it. """ self.capture_output() - self.ipython0.showtraceback() + self.ipython0.showtraceback(tb_offset=-1) self.release_output()