Show More
@@ -11,13 +11,12 b' import sys' | |||||
11 | from traitlets.config.configurable import Configurable |
|
11 | from traitlets.config.configurable import Configurable | |
12 | from IPython.utils.path import ensure_dir_exists |
|
12 | from IPython.utils.path import ensure_dir_exists | |
13 | from traitlets import Instance |
|
13 | from traitlets import Instance | |
14 | from IPython.utils.py3compat import PY3 |
|
14 | ||
15 | if PY3: |
|
15 | try: | |
16 | try: |
|
16 | from importlib import reload | |
17 | from importlib import reload |
|
17 | except ImportError : | |
18 | except ImportError : |
|
18 | ## deprecated since 3.4 | |
19 | ## deprecated since 3.4 |
|
19 | from imp import reload | |
20 | from imp import reload |
|
|||
21 |
|
20 | |||
22 | #----------------------------------------------------------------------------- |
|
21 | #----------------------------------------------------------------------------- | |
23 | # Main class |
|
22 | # Main class |
General Comments 0
You need to be logged in to leave comments.
Login now