Show More
@@ -25,6 +25,6 b' has been made into a component, this module will be sent to deathrow.' | |||
|
25 | 25 | |
|
26 | 26 | def get(): |
|
27 | 27 | """Get the global InteractiveShell instance.""" |
|
28 |
from IPython. |
|
|
29 |
return |
|
|
28 | from IPython.core.interactiveshell import InteractiveShell | |
|
29 | return InteractiveShell.instance() | |
|
30 | 30 |
@@ -902,7 +902,7 b' class VerboseTB(TBTools):' | |||
|
902 | 902 | self.color_scheme_table.active_scheme_name) |
|
903 | 903 | # the system displayhook may have changed, restore the original |
|
904 | 904 | # for pdb |
|
905 |
display_trap = DisplayTrap( |
|
|
905 | display_trap = DisplayTrap(hook=sys.__displayhook__) | |
|
906 | 906 | with display_trap: |
|
907 | 907 | self.pdb.reset() |
|
908 | 908 | # Find the right frame so we don't pop up inside ipython itself |
General Comments 0
You need to be logged in to leave comments.
Login now