Merge pull request #496 from guneysus/feature/python-args-kwargs

Python: args and kwargs snippets
This commit is contained in:
Holger Rapp 2014-12-18 20:11:00 +01:00
commit 89427d7d42

View File

@ -208,3 +208,9 @@ snippet kwg
self.${1:var_name} = kwargs.get('$1', ${2:None}) self.${1:var_name} = kwargs.get('$1', ${2:None})
snippet lkwg snippet lkwg
${1:var_name} = kwargs.get('$1', ${2:None}) ${1:var_name} = kwargs.get('$1', ${2:None})
snippet args
*args${1:,}${0}
snippet kwargs
**kwargs${1:,}${0}
snippet akw
*args, **kwargs${1:,}${0}