Show More
@@ -572,12 +572,6 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
572 | 572 | prompt : str, optional |
|
573 | 573 | A string to be printed to prompt the user. |
|
574 | 574 | """ |
|
575 | # Code run by the user may have modified the readline completer state. | |
|
576 | # We must ensure that our completer is back in place. | |
|
577 | ||
|
578 | if self.has_readline: | |
|
579 | self.set_readline_completer() | |
|
580 | ||
|
581 | 575 | # raw_input expects str, but we pass it unicode sometimes |
|
582 | 576 | prompt = py3compat.cast_bytes_py2(prompt) |
|
583 | 577 |
General Comments 0
You need to be logged in to leave comments.
Login now