Kaydet (Commit) 0c5c264d authored tarafından Anthony Sottile's avatar Anthony Sottile

Minor simplification

üst 3a5858c3
......@@ -160,11 +160,9 @@ class FindNodes(ast.NodeVisitor):
def _fix_inner(brace_start, brace_end, first_paren, tokens):
i = first_paren
brace_stack = [first_paren]
i += 1
for i in range(i, len(tokens)):
for i in range(first_paren + 1, len(tokens)):
token = tokens[i]
if token.src == brace_start:
brace_stack.append(i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment