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