[Tutor] __init__

Alan Gauld alan.gauld at yahoo.co.uk
Tue Aug 30 19:25:42 EDT 2016



On 30/08/16 22:08, monikajg at netzero.net wrote:
> OK so somebodys remark that there is a default __init__ provided was not correct.

It depends on how you interpret default.
In so far as object is the default superclass (in v3)
and it provides an init then there is a default, but
its not part of the language per se but of the standard
object model.
> What about old style classes?

That's a very good question and I don't know the answer.
Hopefully someone else does!

Alan G


More information about the Tutor mailing list