mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
GitOrigin-RevId: 89137463dee2d6a3862b80c98e5a173639c1defe
11 lines
193 B
Python
11 lines
193 B
Python
def func():
|
|
value = "not-none"
|
|
|
|
# Is not none
|
|
# If it's not none
|
|
if value is not None:
|
|
print("Not none")
|
|
# Is none
|
|
# If it's none
|
|
else:
|
|
print("None") |