Re: [Tutor] what is @classmethod and @staticmethod ??

2008-03-23 Thread maser
return wrapper > > def staticmethod(func): > def wrapper(self, *args, **kw): > return func(*args, **kw) > return wrapper > > Andreas > > Am Freitag, den 21.03.2008, 20:08 -0700 schrieb > maser: > > Hi > > > > I couldn't find a g

[Tutor] what is @classmethod and @staticmethod ??

2008-03-21 Thread maser
Hi I couldn't find a good resource explaining what @classmethod and @staticmethod are in python and when, how these could be used. If someone could explain what these are, or point me to resources that may help, it is appreciated. Thanks iyer