diff --git a/IPython/Shell.py b/IPython/Shell.py index 9271cc4..7f650ed 100644 --- a/IPython/Shell.py +++ b/IPython/Shell.py @@ -25,5 +25,5 @@ to use the new IPython.core.shell module""" warn(msg, category=DeprecationWarning, stacklevel=1) -from IPython.core.shell import * +from IPython.core.shell import start, IPShell, IPShellEmbed diff --git a/docs/examples/core/example-embed.py b/docs/examples/core/example-embed.py index 137fbb1..3c451ef 100755 --- a/docs/examples/core/example-embed.py +++ b/docs/examples/core/example-embed.py @@ -31,7 +31,7 @@ else: '-po','Out<\\#>: ','-nosep'] # First import the embeddable shell class -from IPython.Shell import IPShellEmbed +from IPython.core.shell import IPShellEmbed # Now create an instance of the embeddable shell. The first argument is a # string with options exactly as you would type them if you were starting