Is super() not meant to be used with staticmethods?
When I try something like
class First(object):
@staticmethod
def getlist():
return [\'fir
Since Second inherits form First, you can just use First.getlist() instead of passing in two arguments in super(i.e. super(Second, Second))
class First(object):
@staticmethod
def getlist():
return ['first']
class Second(First):
@staticmethod
def getlist():
# l = super(Second, Second).getlist()
l = First.getlist()
l.append('second')
return l
a = Second.getlist()
print (a)