blob: fff98365539ffd1189cd9a0f3e7e6fa0fa81c6de [file] [log] [blame] [edit]
# If-else clauses
if True:
pass
elif False:
pass
if foo in bar:
for f in foo:
# loop
f()
elif True:
a = b
elif False:
#assign
b = a
else:
(a, b) = (b, a)
if foo:
bar
if foo: # this is assigned to foo
pass
else: # this is assigned to "else"
if bar: # this is assigned to bar
pass
else: # this is assigned to "else" too
pass
if foo:
pass
else:
# comment
if bar:
pass
if foo:
pass
else:
# comment
if bar:
pass