diff --git a/IPython/core/magic.py b/IPython/core/magic.py index 0566fa9..065650a 100644 --- a/IPython/core/magic.py +++ b/IPython/core/magic.py @@ -520,7 +520,6 @@ class Magics(Configurable): shell.configurables.append(self) if hasattr(shell, 'config'): kwargs.setdefault('parent', shell) - kwargs['shell'] = shell self.shell = shell self.options_table = {}