Creating new types and invoking super

Arnaud Delobelle arnodel at googlemail.com
Thu Jan 24 08:27:17 CET 2008


On Jan 24, 7:19 am, Arnaud Delobelle <arno... at googlemail.com> wrote:
Oops again
>
> Change this line to:
>               getattr(super.cls, obj), self.f.__name__)()

I mean
               getattr(super(self.cls, obj), self.f.__name__)()

--
Arnaud




More information about the Python-list mailing list