X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/54d707e10a5bf3d8d352c1bcbc7946bb6f3c01d7..dd4477b70120bf736144c38ec50144253f34dce2:/tests/comments2.py?ds=sidebyside diff --git a/tests/comments2.py b/tests/comments2.py index 73fff32..2045c93 100644 --- a/tests/comments2.py +++ b/tests/comments2.py @@ -35,9 +35,9 @@ else: def inline_comments_in_brackets_ruin_everything(): if typedargslist: parameters.children = [ - parameters.children[0], # (1 + children[0], # (1 body, - parameters.children[-1], # )1 + children[-1], # )1 ] else: parameters.children = [ @@ -161,13 +161,9 @@ else: # add_compiler(compilers[(7.1, 64)]) # Comment before function. - - def inline_comments_in_brackets_ruin_everything(): if typedargslist: - parameters.children = [ - parameters.children[0], body, parameters.children[-1] # (1 # )1 - ] + parameters.children = [children[0], body, children[-1]] # (1 # )1 else: parameters.children = [ parameters.children[0], # (2 what if this was actually long