Show More
@@ -117,11 +117,7 b' import types' | |||||
117 | import weakref |
|
117 | import weakref | |
118 | from importlib import import_module |
|
118 | from importlib import import_module | |
119 | from IPython.utils.py3compat import PY3 |
|
119 | from IPython.utils.py3compat import PY3 | |
120 | try: |
|
120 | from imp import reload | |
121 | # Reload is not defined by default in Python3. |
|
|||
122 | reload |
|
|||
123 | except NameError: |
|
|||
124 | from imp import reload |
|
|||
125 |
|
121 | |||
126 | from IPython.utils import openpy |
|
122 | from IPython.utils import openpy | |
127 |
|
123 |
General Comments 0
You need to be logged in to leave comments.
Login now