From 4996a6403108a226d4ff1d73b880207cc80284bd Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 12 Jan 2021 20:05:37 +0100 Subject: Add snippets/python-mode.statnett --- .emacs.d/snippets/python-mode.statnett/try | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .emacs.d/snippets/python-mode.statnett/try (limited to '.emacs.d/snippets/python-mode.statnett/try') 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 @@ +# -*- mode: snippet -*- +# name: try +# key: try +# -- +try: + $1 +except ${2:Exception} as e: + $0 \ No newline at end of file -- cgit v1.3