Show More
@@ -653,6 +653,9 b' class TransformerManager:' | |||
|
653 | 653 | if res is None: |
|
654 | 654 | return 'incomplete', find_last_indent(lines) |
|
655 | 655 | |
|
656 | if toks_last_line[-2].type in {tokenize.NEWLINE, tokenize.NL}: | |
|
657 | return 'complete', None | |
|
658 | ||
|
656 | 659 | if toks_last_line[-2].type == tokenize.DEDENT: |
|
657 | 660 | if not lines[-1].endswith('\n'): |
|
658 | 661 | return 'incomplete', find_last_indent(lines) |
General Comments 0
You need to be logged in to leave comments.
Login now