super() and @staticmethod interaction
super() and @staticmethod interaction Question: Is super() not meant to be used with staticmethods? When I try something like class First(object): @staticmethod def getlist(): return [‘first’] class Second(First): @staticmethod def getlist(): l = super(Second).getlist() l.append(‘second’) return l a = Second.getlist() print a I get the following error Traceback (most recent call last): File “asdf.py”, line …