I have the following Python 2.7 code:
class Frame: def __init__(self, image): self.image = image class Eye(Frame): def __init__(self, image)
Frame must extend object because only the new style classes support super call you make in Eye like so:
Frame
object
super
Eye
class Frame(object): def __init__(self, image): self.image = image class Eye(Frame): def __init__(self, image): super(Eye, self).__init__(image) self.some_other_defined_stuff()