Show More
@@ -9,10 +9,13 b' from warnings import warn' | |||
|
9 | 9 | from IPython.utils.decorators import undoc |
|
10 | 10 | from .ptshell import TerminalInteractiveShell as PromptToolkitShell |
|
11 | 11 | |
|
12 | warn("Since IPython 5.0 `IPython.terminal.interactiveshell` is deprecated in favor of `IPython.terminal.ptshell`.", | |
|
13 | DeprecationWarning) | |
|
14 | ||
|
12 | 15 | @undoc |
|
13 | 16 | class TerminalInteractiveShell(PromptToolkitShell): |
|
14 | 17 | def __init__(self, *args, **kwargs): |
|
15 |
warn(" |
|
|
18 | warn("Since IPython 5.0 this is a deprecated alias for IPython.terminal.ptshell.TerminalInteractiveShell. " | |
|
16 | 19 | "The terminal interface of this class now uses prompt_toolkit instead of readline.", |
|
17 | 20 | DeprecationWarning, stacklevel=2) |
|
18 | 21 | PromptToolkitShell.__init__(self, *args, **kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now