mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 09:46:39 +07:00
GitOrigin-RevId: 89137463dee2d6a3862b80c98e5a173639c1defe
12 lines
154 B
Python
12 lines
154 B
Python
def func():
|
|
value = "not-none"
|
|
|
|
# Is none
|
|
|
|
if value is not None:
|
|
print("Not none")
|
|
|
|
# Is not none
|
|
|
|
else:
|
|
print("None") |