nomail at invalid.com
Fri Oct 31 10:18:13 CET 2014
"ast" <nomail at invalid.com> a écrit dans le message de news:545350c3$0$23449$426a74cc at news.free.fr...
> I am a beginner too, but I find it strange that your
> pet class has no __init__ method to construct
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 ?
More information about the Python-list