Why does super take a class name as the argument?

Chris Green cmg at dok.org
Fri Oct 15 20:41:29 CEST 2004

Shalabh Chaturvedi <shalabh at cafepy.com> writes:

> Derived classes *are* insulated from name changes of the base
> classes.  The class in super has to be the same as the class in
> which the super call is written (i.e. the one 'around' the super
> call),

That's what I meant to say. Sorry if I was unclear.
> [1] http://www.python.org/2.2.3/descrintro.html

Thanks for the pointer ( to all ).  This was what I was looking for.
Chris Green <cmg at dok.org>
Laugh and the world laughs with you, snore and you sleep alone.

More information about the Python-list mailing list