Steven D'Aprano a écrit :
(snip)
> class BaseClass():
>     def foo(self):
>         return "foo"
> 
> class Foo(BaseClass):
>     def foo(self):
>         return self.__class__.foo() # call the parent class method

Err... May I suggest that you re-read the Fine Manual ?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to