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