aboutsummaryrefslogtreecommitdiff
path: root/template/python/snip-class.py
diff options
context:
space:
mode:
Diffstat (limited to 'template/python/snip-class.py')
-rw-r--r--template/python/snip-class.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/template/python/snip-class.py b/template/python/snip-class.py
index c8ff23c..636204d 100644
--- a/template/python/snip-class.py
+++ b/template/python/snip-class.py
@@ -1,3 +1,5 @@
-class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}:
- def __init__(self):
- {{_cursor_}}
+class {{_expr_:substitute('{{_input_:name}}(object)', '\w\+', '\u\0', '')}}:
+ def __init__(self{{_cursor_}}):
+
+ def __repr__(self):
+ return