add def overloading methode (dol)
I add it because I use it many times a day -not only for the `__init__` method- this snippet is very useful to me, no need to call super and handle all args and kwargs, and no more typo errors :D
This commit is contained in:
parent
9b6ee51b41
commit
fa6d71e49e
@ -201,3 +201,6 @@ snippet epydoc
|
||||
|
||||
@raise e: ${0: Description}
|
||||
"""
|
||||
snippet dol
|
||||
def ${1:__init__}(self, *args, **kwargs):
|
||||
super(${0:ClassName}, self).$1(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user