mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
if is None and if is not None postfix templates added
(cherry picked from commit f46145d)
This commit is contained in:
committed by
liana.bakradze
parent
3bfae3999a
commit
1362a6c6a4
@@ -0,0 +1,3 @@
|
||||
def f(a):
|
||||
if a is None:
|
||||
<spot></spot>
|
||||
@@ -0,0 +1,2 @@
|
||||
def f(a):
|
||||
<spot>a</spot>.ifn
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Checks if the expression is None.
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,3 @@
|
||||
def f(a):
|
||||
if a is not None:
|
||||
<spot></spot>
|
||||
@@ -0,0 +1,2 @@
|
||||
def f(a):
|
||||
<spot>a</spot>.ifnn
|
||||
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
Checks if the expression if not None.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user