From a469f3d77cf794b33ac20cf9d3f2246387423808 2010-07-26 02:25:56 From: Thomas Spura Date: 2010-07-26 02:25:56 Subject: [PATCH] InteractiveShell* are imported as IPShell* So call them properly in start() Signed-off-by: Thomas Spura --- diff --git a/IPython/Shell.py b/IPython/Shell.py index 7bdd833..7600f17 100644 --- a/IPython/Shell.py +++ b/IPython/Shell.py @@ -36,7 +36,7 @@ from IPython.core.embed import InteractiveShellEmbed as IPShellEmbed def start(user_ns=None, embedded=False): """Return an instance of :class:`InteractiveShell`.""" if embedded: - return InteractiveShellEmbed(user_ns=user_ns) + return IPShellEmbed(user_ns=user_ns) else: - return InteractiveShell(user_ns=user_ns) + return IPShell(user_ns=user_ns)