This code I found somewhere in the Internet:
class Superclass(object):
def __init__(self):
print ('SuperClass: Do something')
class Subclass(Superclass):
def __init__(self):
super(Subclass, self).__init__()
print ('SubClass: Do something else')
test = Subclass()
So, 'object' in 'class Superclass(object)' is unnecessary in my opinion. Well, I can remove it, and the program works fine as well.
The same we can see for example in Python's Observer pattern here:
http://en.wikipedia.org/wiki/Observer_pattern
Could you comment on what this 'object' is and what it is here for.