Show More
@@ -15,6 +15,10 b' from IPython.utils.shimmodule import ShimModule' | |||
|
15 | 15 | # Unconditionally insert the shim into sys.modules so that further import calls |
|
16 | 16 | # trigger the custom attribute access above |
|
17 | 17 | |
|
18 | sys.modules['IPython.qt'] = _qt = ShimModule(src='IPython.qt', mirror='qtconsole') | |
|
19 |
|
|
|
18 | _console = sys.modules['IPython.qt.console'] = ShimModule( | |
|
19 | src='IPython.qt.console', mirror='qtconsole') | |
|
20 | ||
|
21 | _qt = ShimModule(src='IPython.qt', mirror='qtconsole') | |
|
22 | ||
|
20 | 23 | _qt.console = _console |
|
24 | sys.modules['IPython.qt'] = _qt |
General Comments 0
You need to be logged in to leave comments.
Login now