diff options
Diffstat (limited to '.emacs.d/snippets/python-mode/try')
| -rw-r--r-- | .emacs.d/snippets/python-mode/try | 8 |
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 | # -- | ||
| 5 | try: | ||
| 6 | $1 | ||
| 7 | except ${2:Exception}: | ||
| 8 | $0 \ No newline at end of file | ||
