Show More
@@ -461,7 +461,7 b' def classic_prompt():' | |||
|
461 | 461 | def ipy_prompt(): |
|
462 | 462 | """Strip IPython's In [1]:/...: prompts.""" |
|
463 | 463 | # FIXME: non-capturing version (?:...) usable? |
|
464 | prompt_re = re.compile(r'^(In \[\d+\]: |\s*\.{3,}: )') | |
|
464 | prompt_re = re.compile(r'^(In \[\d+\]: |\s*\.{3,}: ?)') | |
|
465 | 465 | return _strip_prompts(prompt_re) |
|
466 | 466 | |
|
467 | 467 |
@@ -233,6 +233,11 b' syntax_ml = \\' | |||
|
233 | 233 | ('...: print i',' print i'), |
|
234 | 234 | ('...: ', ''), |
|
235 | 235 | ], |
|
236 | [('In [24]: for i in range(10):','for i in range(10):'), | |
|
237 | # Space after last continuation prompt has been removed (issue #6674) | |
|
238 | ('...: print i',' print i'), | |
|
239 | ('...:', ''), | |
|
240 | ], | |
|
236 | 241 | [('In [2]: a="""','a="""'), |
|
237 | 242 | (' ...: 123"""','123"""'), |
|
238 | 243 | ], |
General Comments 0
You need to be logged in to leave comments.
Login now