Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyChainedComparisonsInspectionWithConstantInTheMiddle
/
test.py
blob: f070156ea2998451a90b7b87fcd653924159ce1f [
file
]
# PY-16397
x
,
y
=
2
,
3
if
x
>
0
and
y
<
0
:
pass
# PY-19998
<
weak_warning descr
=
"Simplify chained comparison"
>
x
>
1
and
x
<
2
</
weak_warning
>
1
<
x
and
1
>
y