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:
Steeve 2014-04-09 12:27:32 +02:00
parent 9b6ee51b41
commit fa6d71e49e

View File

@ -201,3 +201,6 @@ snippet epydoc
@raise e: ${0: Description} @raise e: ${0: Description}
""" """
snippet dol
def ${1:__init__}(self, *args, **kwargs):
super(${0:ClassName}, self).$1(*args, **kwargs)