Files
openide/python/testData/intentions/beforeJoinIfElse.py
T
Dmitry Cheryasov ca79da6981 Merge branch 'master' of git.labs.intellij.net:idea/ultimate
python/codeInsight/intentions/PyJoinIfIntention.java: notice outer 'else'.
2010-12-21 02:11:29 +02:00

8 lines
155 B
Python

def foo():
if <caret>a + 2 > 3:
if b < 4:
a = a and b
b = 4
else: # this prevents ifs from joining
print a