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

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to