Show More
@@ -389,6 +389,7 b' def classic_prompt():' | |||||
389 | def ipy_prompt(): |
|
389 | def ipy_prompt(): | |
390 | """Strip IPython's In [1]:/...: prompts.""" |
|
390 | """Strip IPython's In [1]:/...: prompts.""" | |
391 | # FIXME: non-capturing version (?:...) usable? |
|
391 | # FIXME: non-capturing version (?:...) usable? | |
|
392 | # FIXME: r'^(In \[\d+\]: | {3}\.{3,}: )' clearer? | |||
392 | prompt_re = re.compile(r'^(In \[\d+\]: |\ \ \ \.\.\.+: )') |
|
393 | prompt_re = re.compile(r'^(In \[\d+\]: |\ \ \ \.\.\.+: )') | |
393 | return _strip_prompts(prompt_re) |
|
394 | return _strip_prompts(prompt_re) | |
394 |
|
395 |
General Comments 0
You need to be logged in to leave comments.
Login now