Python args and kwargs snippets
This commit is contained in:
parent
511c42177f
commit
4f2e0a03f1
@ -208,3 +208,9 @@ snippet kwg
|
||||
self.${1:var_name} = kwargs.get('$1', ${2:None})
|
||||
snippet lkwg
|
||||
${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