summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/python-mode.statnett/ife
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/python-mode.statnett/ife')
-rw-r--r--.emacs.d/snippets/python-mode.statnett/ife9
1 files changed, 9 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode.statnett/ife b/.emacs.d/snippets/python-mode.statnett/ife
new file mode 100644
index 0000000..4b8f613
--- /dev/null
+++ b/.emacs.d/snippets/python-mode.statnett/ife
@@ -0,0 +1,9 @@
1# -*- mode: snippet -*-
2# name: ife
3# key: ife
4# group : control structure
5# --
6if $1:
7 $2
8else:
9 $0