##// END OF EJS Templates
Merge pull request #3483 from takluyver/i2790...
Min RK -
r11059:3096afa2 merge
parent child Browse files
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
@@ -180,6 +180,10 b' syntax_ml = \\'
180 180 ('123','123'),
181 181 ('... 456"""','... 456"""'),
182 182 ],
183 [('>>> def f(x):', 'def f(x):'),
184 ('...', ''),
185 ('... return x', ' return x'),
186 ],
183 187 ],
184 188
185 189 ipy_prompt =
General Comments 0
You need to be logged in to leave comments. Login now