Show More
@@ -228,8 +228,8 b' class TerminalInteractiveShell(InteractiveShell):' | |||
|
228 | 228 | # This is very limited, and only accepts a single line. |
|
229 | 229 | def prompt(): |
|
230 | 230 | isp = self.input_splitter |
|
231 |
prompt_text = |
|
|
232 | prompt_continuation = ("%%%ds" % len(prompt_text)) % '...: ' | |
|
231 | prompt_text = "".join(x[1] for x in self.prompts.in_prompt_tokens()) | |
|
232 | prompt_continuation = "".join(x[1] for x in self.prompts.continuation_prompt_tokens()) | |
|
233 | 233 | while isp.push_accepts_more(): |
|
234 | 234 | line = cast_unicode_py2(input(prompt_text)) |
|
235 | 235 | isp.push(line) |
General Comments 0
You need to be logged in to leave comments.
Login now