diff --git a/snippets/python.snippets b/snippets/python.snippets index ac9573b..799e061 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -204,3 +204,5 @@ snippet epydoc snippet dol def ${1:__init__}(self, *args, **kwargs): super(${0:ClassName}, self).$1(*args, **kwargs) +snippet kwg + self.${1:var_name} = kwargs.get('$1', ${2:None})${0:}