Files
openide/python/testData/inspections/ChainedComparison6_after.py
Semyon Proshev f352dd1129 PY-19583 Fixed: Bad simplifying in condition
While inverting expression don't change operands order if original expression isn't comparison
2016-07-09 21:11:02 +03:00

4 lines
108 B
Python

class A:
def foo(self):
if index >= self.current > index - self.history_length:
pass