Merge pull request #496 from guneysus/feature/python-args-kwargs
Python: args and kwargs snippets
This commit is contained in:
commit
89427d7d42
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user