blob: 1145a7050c4dc627226d3c9532016aade1a6472c [file] [log] [blame] [edit]
foo(name='foo',
srcs=[bar])
aaa; bbb
ccc
ddd
# multiline
# comment
eee
fff
ggg
def function(
# This shouldn't mess with indentation counting
x, y = z
):
aaa
bbb
def g(a, s,
d # this is d
): # this is function definition
ccc
# Misalingned comments
# are not a syntax error
ddd
def h(a, s = d): # this is h
eee
def k(g): g += 1; return g
for x in y: print(y)
if x: print(x)
elif y: print(y)
else: print(z); print(y); print(x)
if x: print(x)
elif y: print(y)
else: print(z); print(y); print(x)
def i():
def j():
return h([1],
[2]) # returns h
return u()+w
for b in a: # first
for c, d in b: # second
for ((e, f), g) in zip(c, d): # third
pass
if foo in bar:
for f in foo:
# loop
f()
else if True:
a = b
else:
if False:
#assign
b=a
else:
(a,b)=(b,a)
if foo:
bar
if foo:
bar
#comment
bar
bar
def a(name, foo=True, **kwargs):
# comment here
return