Files
openide/python/testData/intentions/PyInvertIfConditionIntentionTest/commentsInlineBoth_after.py
Aleksei Kniazev d18717b0ec PY-15046: fixed tests location
GitOrigin-RevId: 89137463dee2d6a3862b80c98e5a173639c1defe
2020-10-19 15:47:28 +00:00

7 lines
145 B
Python

def func():
value = "not-none"
if value is not None: # Is not none
print("Not none")
else: # Is none
print("None")