Show More
@@ -591,7 +591,7 b' class Completer(Configurable):' | |||||
591 |
|
591 | |||
592 | greedy = Bool(False, |
|
592 | greedy = Bool(False, | |
593 | help="""Activate greedy completion |
|
593 | help="""Activate greedy completion | |
594 | PENDING DEPRECTION. this is now mostly taken care of with Jedi. |
|
594 | PENDING DEPRECATION. this is now mostly taken care of with Jedi. | |
595 |
|
595 | |||
596 | This will enable completion on elements of lists, results of function calls, etc., |
|
596 | This will enable completion on elements of lists, results of function calls, etc., | |
597 | but can be unsafe because the code is actually evaluated on TAB. |
|
597 | but can be unsafe because the code is actually evaluated on TAB. |
@@ -82,7 +82,7 b' class ConfigMagics(Magics):' | |||||
82 | Current: False |
|
82 | Current: False | |
83 | IPCompleter.greedy=<Bool> |
|
83 | IPCompleter.greedy=<Bool> | |
84 | Activate greedy completion |
|
84 | Activate greedy completion | |
85 | PENDING DEPRECTION. this is now mostly taken care of with Jedi. |
|
85 | PENDING DEPRECATION. this is now mostly taken care of with Jedi. | |
86 | This will enable completion on elements of lists, results of function calls, etc., |
|
86 | This will enable completion on elements of lists, results of function calls, etc., | |
87 | but can be unsafe because the code is actually evaluated on TAB. |
|
87 | but can be unsafe because the code is actually evaluated on TAB. | |
88 | Current: False |
|
88 | Current: False |
@@ -51,7 +51,6 b' from .prompts import Prompts, ClassicPrompts, RichPromptDisplayHook' | |||||
51 | from .ptutils import IPythonPTCompleter, IPythonPTLexer |
|
51 | from .ptutils import IPythonPTCompleter, IPythonPTLexer | |
52 | from .shortcuts import create_ipython_shortcuts |
|
52 | from .shortcuts import create_ipython_shortcuts | |
53 |
|
53 | |||
54 | DISPLAY_BANNER_DEPRECATED = object() |
|
|||
55 | PTK3 = ptk_version.startswith('3.') |
|
54 | PTK3 = ptk_version.startswith('3.') | |
56 |
|
55 | |||
57 |
|
56 | |||
@@ -579,11 +578,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
579 |
|
578 | |||
580 | rl_next_input = None |
|
579 | rl_next_input = None | |
581 |
|
580 | |||
582 | def interact(self, display_banner=DISPLAY_BANNER_DEPRECATED): |
|
581 | def interact(self): | |
583 |
|
||||
584 | if display_banner is not DISPLAY_BANNER_DEPRECATED: |
|
|||
585 | warn('interact `display_banner` argument is deprecated since IPython 5.0. Call `show_banner()` if needed.', DeprecationWarning, stacklevel=2) |
|
|||
586 |
|
||||
587 | self.keep_running = True |
|
582 | self.keep_running = True | |
588 | while self.keep_running: |
|
583 | while self.keep_running: | |
589 | print(self.separate_in, end='') |
|
584 | print(self.separate_in, end='') | |
@@ -599,11 +594,9 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
599 | if code: |
|
594 | if code: | |
600 | self.run_cell(code, store_history=True) |
|
595 | self.run_cell(code, store_history=True) | |
601 |
|
596 | |||
602 | def mainloop(self, display_banner=DISPLAY_BANNER_DEPRECATED): |
|
597 | def mainloop(self): | |
603 | # An extra layer of protection in case someone mashing Ctrl-C breaks |
|
598 | # An extra layer of protection in case someone mashing Ctrl-C breaks | |
604 | # out of our internal code. |
|
599 | # out of our internal code. | |
605 | if display_banner is not DISPLAY_BANNER_DEPRECATED: |
|
|||
606 | warn('mainloop `display_banner` argument is deprecated since IPython 5.0. Call `show_banner()` if needed.', DeprecationWarning, stacklevel=2) |
|
|||
607 | while True: |
|
600 | while True: | |
608 | try: |
|
601 | try: | |
609 | self.interact() |
|
602 | self.interact() |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now