A
AbrahamLincolnIllinois
Hello all.
On page 479, the 2nd edition of the "Learning Python" book, this code
appears
class Derived(Base):
def __init__(self, arg, *args, **kw):
self.__init__(self, *args, **kw)
Surely self.__init__ should be
Base.__init__
Everything else in the book has been crystal clear. Up to page 479!
It doesn't appear in the errata. What am I misunderstanding?
Regards,
Abraham
On page 479, the 2nd edition of the "Learning Python" book, this code
appears
class Derived(Base):
def __init__(self, arg, *args, **kw):
self.__init__(self, *args, **kw)
Surely self.__init__ should be
Base.__init__
Everything else in the book has been crystal clear. Up to page 479!
It doesn't appear in the errata. What am I misunderstanding?
Regards,
Abraham