Show More
@@ -17,7 +17,6 b' Parts of this code were taken from Cython.inline.' | |||||
17 |
|
17 | |||
18 | import io |
|
18 | import io | |
19 | import os, sys |
|
19 | import os, sys | |
20 | from importlib import import_module |
|
|||
21 | import imp |
|
20 | import imp | |
22 |
|
21 | |||
23 | try: |
|
22 | try: | |
@@ -101,7 +100,8 b' class CythonMagics(Magics):' | |||||
101 | module = self._reloads[module_name] |
|
100 | module = self._reloads[module_name] | |
102 | reload(module) |
|
101 | reload(module) | |
103 | else: |
|
102 | else: | |
104 |
|
|
103 | __import__(module_name) | |
|
104 | module = sys.modules[module_name] | |||
105 | self._reloads[module_name] = module |
|
105 | self._reloads[module_name] = module | |
106 | self._import_all(module) |
|
106 | self._import_all(module) | |
107 |
|
107 |
General Comments 0
You need to be logged in to leave comments.
Login now