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

ty  for the détailed explanations.


An other question:

What is the very first method launched when an instantiation is done ?
e.g  obj = MyClass(0, 5, 'xyz')

is it __call__ (from object or MyClass if overriden) ?
then _call__ launches __new__ and then __init__
This would be coherent with the language

or is it __new__ then __init__ as said on courses I read ?




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

Reply via email to