From b18f82fc78c1c141c1cad5d1ff3981df3fffd925 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 7 Nov 2010 15:00:46 -0500 Subject: [PATCH] Python snippets update. --- bundle/snipmate/snippets/python.snippets | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bundle/snipmate/snippets/python.snippets b/bundle/snipmate/snippets/python.snippets index 28a2948..735ec98 100644 --- a/bundle/snipmate/snippets/python.snippets +++ b/bundle/snipmate/snippets/python.snippets @@ -1,6 +1,9 @@ -snippet #! +snippet env #!/usr/bin/env python +snippet enc + # -*- coding: utf-8 -*- + snippet imp import ${1:module} # Module Docstring @@ -17,7 +20,7 @@ snippet for for ${1:needle} in ${2:haystack}: ${3:# code...} # New Class -snippet cl +snippet class class ${1:ClassName}(${2:object}): """${3:docstring for $1}""" def __init__(self, ${4:arg}):