Show More
@@ -453,8 +453,7 b' def classic_prompt():' | |||
|
453 | 453 | def ipy_prompt(): |
|
454 | 454 | """Strip IPython's In [1]:/...: prompts.""" |
|
455 | 455 | # FIXME: non-capturing version (?:...) usable? |
|
456 |
|
|
|
457 | prompt_re = re.compile(r'^(In \[\d+\]: |\ \ \ \.\.\.+: )') | |
|
456 | prompt_re = re.compile(r'^(In \[\d+\]: |\ {3,}\.{3,}: )') | |
|
458 | 457 | return _strip_prompts(prompt_re) |
|
459 | 458 | |
|
460 | 459 |
General Comments 0
You need to be logged in to leave comments.
Login now