summaryrefslogtreecommitdiff
path: root/snippets
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-02-16 08:44:59 -0500
committerKyle Meyer <kyle@kyleam.com>2018-04-01 22:04:42 -0400
commitbd93783ae1d4d31c2b931cb3e0b3455eb3afe10f (patch)
tree1e685951c5f77ecf839aa09ddc58d8852eb77f7c /snippets
parent5d4453c16dfe6388493e1c04ad2adb5722932cea (diff)
downloademacs.d-bd93783ae1d4d31c2b931cb3e0b3455eb3afe10f.tar.gz
snippets: python: Add class snippet
Diffstat (limited to 'snippets')
-rw-r--r--snippets/python-mode/class8
1 files changed, 8 insertions, 0 deletions
diff --git a/snippets/python-mode/class b/snippets/python-mode/class
new file mode 100644
index 0000000..8839953
--- /dev/null
+++ b/snippets/python-mode/class
@@ -0,0 +1,8 @@
+# -*- mode: snippet -*-
+# key: cl
+# --
+class ${1:name}(object):
+ """
+ """
+
+ def __init__(self, $0):