Код: Выделить всё
with open(path) as f:
print 'before condition'
if : break #syntax error!
print 'after condition'
Подробнее здесь: https://stackoverflow.com/questions/111 ... -statement
Код: Выделить всё
with open(path) as f:
print 'before condition'
if : break #syntax error!
print 'after condition'