summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/python-mode.statnett/try
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/python-mode.statnett/try')
-rw-r--r--.emacs.d/snippets/python-mode.statnett/try8
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode.statnett/try b/.emacs.d/snippets/python-mode.statnett/try
new file mode 100644
index 0000000..6e68e8d
--- /dev/null
+++ b/.emacs.d/snippets/python-mode.statnett/try
@@ -0,0 +1,8 @@
1# -*- mode: snippet -*-
2# name: try
3# key: try
4# --
5try:
6 $1
7except ${2:Exception} as e:
8 $0 \ No newline at end of file