PY-16393 Ignore intermediate comments while searching for line feed to recognize hanging indent

This commit is contained in:
Mikhail Golubev
2015-07-07 12:40:39 +03:00
parent 5fee1b116b
commit b633713288
4 changed files with 59 additions and 17 deletions
@@ -0,0 +1,11 @@
xs = [ # foo
1,
{ # bar
'a',
'b',
foo(True, # baz
False,
None)
},
2
]
@@ -0,0 +1,11 @@
xs = [ # foo
1,
{ # bar
'a',
'b',
foo(True, # baz
False,
None)
},
2
]