Show More
@@ -167,6 +167,7 b' def find_next_indent(code):' | |||
|
167 | 167 | |
|
168 | 168 | last_indent = prev_indents.pop() |
|
169 | 169 | |
|
170 | # If we've just opened a multiline statement (e.g. 'a = ['), indent more | |
|
170 | 171 | if tokens[-1].type == IN_MULTILINE_STATEMENT: |
|
171 | 172 | if tokens[-2].exact_type in {tokenize.LPAR, tokenize.LSQB, tokenize.LBRACE}: |
|
172 | 173 | return last_indent + 4 |
General Comments 0
You need to be logged in to leave comments.
Login now