Show More
@@ -194,8 +194,13 b' class RemoteError(KernelError):' | |||
|
194 | 194 | """render traceback to a list of lines""" |
|
195 | 195 | return (self.traceback or "No traceback available").splitlines() |
|
196 | 196 | |
|
197 | # Special method for custom tracebacks within IPython | |
|
198 | 197 | def _render_traceback_(self): |
|
198 | """Special method for custom tracebacks within IPython. | |
|
199 | ||
|
200 | This will be called by IPython instead of displaying the local traceback. | |
|
201 | ||
|
202 | It should return a traceback rendered as a list of lines. | |
|
203 | """ | |
|
199 | 204 | return self.render_traceback() |
|
200 | 205 | |
|
201 | 206 | def print_traceback(self, excid=None): |
General Comments 0
You need to be logged in to leave comments.
Login now