if is None and if is not None postfix templates added

(cherry picked from commit f46145d)
This commit is contained in:
Liana Bakradze
2016-02-11 23:36:59 +03:00
committed by liana.bakradze
parent 3bfae3999a
commit 1362a6c6a4
28 changed files with 266 additions and 1 deletions
@@ -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>