##// END OF EJS Templates
Remove deprecated banner parameter...
Matthias Bussonnier -
Show More
@@ -591,7 +591,7 b' class Completer(Configurable):'
591 591
592 592 greedy = Bool(False,
593 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 596 This will enable completion on elements of lists, results of function calls, etc.,
597 597 but can be unsafe because the code is actually evaluated on TAB.
@@ -82,7 +82,7 b' class ConfigMagics(Magics):'
82 82 Current: False
83 83 IPCompleter.greedy=<Bool>
84 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 86 This will enable completion on elements of lists, results of function calls, etc.,
87 87 but can be unsafe because the code is actually evaluated on TAB.
88 88 Current: False
@@ -51,7 +51,6 b' from .prompts import Prompts, ClassicPrompts, RichPromptDisplayHook'
51 51 from .ptutils import IPythonPTCompleter, IPythonPTLexer
52 52 from .shortcuts import create_ipython_shortcuts
53 53
54 DISPLAY_BANNER_DEPRECATED = object()
55 54 PTK3 = ptk_version.startswith('3.')
56 55
57 56
@@ -579,11 +578,7 b' class TerminalInteractiveShell(InteractiveShell):'
579 578
580 579 rl_next_input = None
581 580
582 def interact(self, display_banner=DISPLAY_BANNER_DEPRECATED):
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
581 def interact(self):
587 582 self.keep_running = True
588 583 while self.keep_running:
589 584 print(self.separate_in, end='')
@@ -599,11 +594,9 b' class TerminalInteractiveShell(InteractiveShell):'
599 594 if code:
600 595 self.run_cell(code, store_history=True)
601 596
602 def mainloop(self, display_banner=DISPLAY_BANNER_DEPRECATED):
597 def mainloop(self):
603 598 # An extra layer of protection in case someone mashing Ctrl-C breaks
604 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 600 while True:
608 601 try:
609 602 self.interact()
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now