Files
openide/python/testData/inspections/ChainedComparison7_after.py
Mikhail Golubev 8567fcf845 PY-20004 Add missing invertion of the right sequence of comparisons
when the common (middle) expression is the leftmost in the left
sequence of comparisons and the rightmost in the right sequence of
comparisons. Then I removed code duplication from both branches of
`if (myCommonIsInLeftLeft) {}` since they became identical after that.
2016-07-11 13:56:07 +03:00

3 lines
44 B
Python

def func(x, y, z):
return 1 < x < z < y