Python 2.3.3 super() behaviour

Nicolas Lehuen nicolas.lehuen at thecrmcompany.com
Thu Apr 22 04:46:43 EDT 2004


Duh, so it was a FAQ...

What's interesting in your post is the fact that super is in fact a class
(not a builtin function), and that you can inherit from it to get the
expected behaviour :

http://groups.google.it/groups?hl=it&lr=&ie=UTF-8&threadm=95aa1afa.0402172242.17334743%40posting.google.com&rnum=1&prev=/groups%3Fhl%3Dit%26lr%3D%26ie%3DISO-8859-1%26q%3Dsimionato%2Bsuper%26btnG%3DCerca%26meta%3Dgroup%253Dcomp.lang.python

Maybe this should be the default behaviour ?

Regards,
Nicolas

"Michele Simionato" <michele.simionato at poste.it> a écrit dans le message de
news:95aa1afa.0404210729.18f6de22 at posting.google.com...
> "Nicolas Lehuen" <nicolas.lehuen at thecrmcompany.com> wrote in message
news:<40863bd7$0$25528$afc38c87 at news.easynet.fr>...
> > Hi,
> >
> > I hope this is not a FAQ, but I have trouble understanding the behaviour
of
> > the super() built-in function.
>
> Maybe this thread on super will interest you:
>
>
http://groups.google.it/groups?hl=it&lr=&ie=UTF-8&threadm=95aa1afa.0402172242.17334743%40posting.google.com&rnum=1&prev=/groups%3Fhl%3Dit%26lr%3D%26ie%3DISO-8859-1%26q%3Dsimionato%2Bsuper%26btnG%3DCerca%26meta%3Dgroup%253Dcomp.lang.python.*
>
>
>     Michele Simionato





More information about the Python-list mailing list