mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
11 lines
178 B
Python
11 lines
178 B
Python
def func():
|
|
value = "not-none"
|
|
|
|
# Is none
|
|
# If it's none
|
|
<caret>if value is None:
|
|
print("None")
|
|
|
|
# Is not none
|
|
# If it's not none
|
|
print(value) |