summaryrefslogtreecommitdiff
path: root/.emacs.d/snippets/python-mode/arg
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/snippets/python-mode/arg')
-rw-r--r--.emacs.d/snippets/python-mode/arg7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/arg b/.emacs.d/snippets/python-mode/arg
new file mode 100644
index 0000000..f5145ec
--- /dev/null
+++ b/.emacs.d/snippets/python-mode/arg
@@ -0,0 +1,7 @@
1# -*- mode: snippet -*-
2# name: arg
3# key: arg
4# group: argparser
5# --
6parser.add_argument('-$1', '--$2',
7 $0)