aboutsummaryrefslogtreecommitdiff
path: root/template/python/base-class.py
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2012-04-12 21:10:48 -0700
committermattn <mattn.jp@gmail.com>2012-04-12 21:10:48 -0700
commitcc759ac441d910f4b47a378e02301c538a05ca1e (patch)
tree2cf941e93df106f9cbc9e2346dfeba11d6b9ce25 /template/python/base-class.py
parent98266fe2cd45b6d353955c9279dc0fab0b8d5098 (diff)
parent8e9cfb1e124b4d2329c2b671370a65ce37e0923a (diff)
downloadvim-sonictemplate-cc759ac441d910f4b47a378e02301c538a05ca1e.tar.gz
vim-sonictemplate-cc759ac441d910f4b47a378e02301c538a05ca1e.tar.bz2
vim-sonictemplate-cc759ac441d910f4b47a378e02301c538a05ca1e.zip
Merge pull request #5 from baopham/master
some more templates for html, python and java
Diffstat (limited to 'template/python/base-class.py')
-rw-r--r--template/python/base-class.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/template/python/base-class.py b/template/python/base-class.py
new file mode 100644
index 0000000..a606982
--- /dev/null
+++ b/template/python/base-class.py
@@ -0,0 +1,7 @@
+"""
+{{_name_}}
+"""
+
+class {{_expr_:substitute('{{_input_:name}}', '\w\+', '\u\0', '')}}:
+ def __init__(self):
+ {{_cursor_}}