"ast" <nom...@invalid.com> a écrit dans le message de 
news:545350c3$0$23449$426a7...@news.free.fr...

I am a beginner too, but I find it strange that your
pet class has no __init__ method to construct
instances

It works anyway because __init__ is taken in the
parent Class, probably Object.

But this means that a method can create a new
attribute not previously created with __init__.
Is that correct ?
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to