##// END OF EJS Templates
Rename PTInteractiveShell to TerminalInteractiveShell...
Thomas Kluyver -
Show More
@@ -32,7 +32,7 b' from IPython.core.shellapp import ('
32 32 InteractiveShellApp, shell_flags, shell_aliases
33 33 )
34 34 from IPython.extensions.storemagic import StoreMagics
35 from .ptshell import PTInteractiveShell as TerminalInteractiveShell
35 from .ptshell import TerminalInteractiveShell
36 36 from IPython.utils import warn
37 37 from IPython.paths import get_ipython_dir
38 38 from traitlets import (
@@ -45,7 +45,7 b' class IPythonPTCompleter(Completer):'
45 45 for m in matches:
46 46 yield Completion(m, start_position=start_pos)
47 47
48 class PTInteractiveShell(InteractiveShell):
48 class TerminalInteractiveShell(InteractiveShell):
49 49 colors_force = True
50 50
51 51 pt_cli = None
@@ -187,7 +187,7 b' class PTInteractiveShell(InteractiveShell):'
187 187 io.stderr = io.IOStream(sys.stderr)
188 188
189 189 def __init__(self, *args, **kwargs):
190 super(PTInteractiveShell, self).__init__(*args, **kwargs)
190 super(TerminalInteractiveShell, self).__init__(*args, **kwargs)
191 191 self.init_prompt_toolkit_cli()
192 192 self.keep_running = True
193 193
@@ -237,4 +237,4 b' class PTInteractiveShell(InteractiveShell):'
237 237 self._inputhook = None
238 238
239 239 if __name__ == '__main__':
240 PTInteractiveShell.instance().interact()
240 TerminalInteractiveShell.instance().interact()
General Comments 0
You need to be logged in to leave comments. Login now