lkwg LocalKeyWordargumentGet

This commit is contained in:
Steeve 2014-04-14 12:30:29 +02:00
parent 7f65658f47
commit 593a3b79df

View File

@ -206,3 +206,5 @@ snippet dol
super(${0:ClassName}, self).$1(*args, **kwargs) super(${0:ClassName}, self).$1(*args, **kwargs)
snippet kwg snippet kwg
self.${1:var_name} = kwargs.get('$1', ${2:None}) self.${1:var_name} = kwargs.get('$1', ${2:None})
snippet lkwg
${1:var_name} = kwargs.get('$1', ${2:None})