Show More
@@ -381,7 +381,7 b' def _strip_prompts(prompt_re):' | |||
|
381 | 381 | @CoroutineInputTransformer.wrap |
|
382 | 382 | def classic_prompt(): |
|
383 | 383 | """Strip the >>>/... prompts of the Python interactive shell.""" |
|
384 | prompt_re = re.compile(r'^(>>> |^\.\.\. )') | |
|
384 | prompt_re = re.compile(r'^(>>> ?|^\.\.\. ?)') | |
|
385 | 385 | return _strip_prompts(prompt_re) |
|
386 | 386 | |
|
387 | 387 | @CoroutineInputTransformer.wrap |
General Comments 0
You need to be logged in to leave comments.
Login now