Show More
@@ -492,7 +492,7 b' class Interpreter(object):' | |||||
492 | # somehow. In the meantime, we'll just stop if there are two lines |
|
492 | # somehow. In the meantime, we'll just stop if there are two lines | |
493 | # of pure whitespace at the end. |
|
493 | # of pure whitespace at the end. | |
494 | last_two = source.rsplit('\n',2)[-2:] |
|
494 | last_two = source.rsplit('\n',2)[-2:] | |
495 | print 'last two:',last_two # dbg |
|
495 | #print 'last two:',last_two # dbg | |
496 | if len(last_two)==2 and all(s.isspace() for s in last_two): |
|
496 | if len(last_two)==2 and all(s.isspace() for s in last_two): | |
497 | return COMPLETE_INPUT,False |
|
497 | return COMPLETE_INPUT,False | |
498 | else: |
|
498 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now