Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0e1cb1

Browse files
committed
fix Traitlets 4.2 API usage.
1 parent 777642e commit f0e1cb1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

IPython/core/extensions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ def load_ipython_extension(ipython):
4949
is added to ``sys.path`` automatically.
5050
"""
5151

52-
shell = Instance('IPython.core.interactiveshell.InteractiveShellABC').tag(
53-
allow_none=True)
52+
shell = Instance('IPython.core.interactiveshell.InteractiveShellABC', allow_none=True)
5453

5554
def __init__(self, shell=None, **kwargs):
5655
super(ExtensionManager, self).__init__(shell=shell, **kwargs)

0 commit comments

Comments
 (0)