"inherited" keyword in Python?

Carsten Gaebler cg at schlund.de
Mon Dec 4 14:41:14 CET 2000


Hi there!

Does Python know something like the "inherited" keyword from Borland
Pascal? In Pascal it is used to call a method of a class's superclass,
i.e. instead of saying "superclass.method()" you say "inherited
method()". Can be quite helpful if you change the name of the superclass
or just forgot it. :-)

Regards
Carsten.



More information about the Python-list mailing list