Show More
@@ -158,6 +158,12 b' class InteractiveShellEmbed(TerminalInteractiveShell):' | |||
|
158 | 158 | assert ( |
|
159 | 159 | "user_global_ns" not in kw |
|
160 | 160 | ), "Key word argument `user_global_ns` has been replaced by `user_module` since IPython 4.0." |
|
161 | # temporary fix for https://github.com/ipython/ipython/issues/14164 | |
|
162 | cls = type(self) | |
|
163 | if cls._instance is None: | |
|
164 | for subclass in cls._walk_mro(): | |
|
165 | subclass._instance = self | |
|
166 | cls._instance = self | |
|
161 | 167 | |
|
162 | 168 | clid = kw.pop('_init_location_id', None) |
|
163 | 169 | if not clid: |
General Comments 0
You need to be logged in to leave comments.
Login now