diff --git a/IPython/extensions/autoreload.py b/IPython/extensions/autoreload.py index e674c27..6dc3ec7 100644 --- a/IPython/extensions/autoreload.py +++ b/IPython/extensions/autoreload.py @@ -116,7 +116,7 @@ import traceback import types import weakref from importlib import import_module - +from IPython.utils.py3compat import PY3 try: # Reload is not defined by default in Python3. reload