Calling baseclass method from a derivated class (others will probably give you a better solution)
carifio.nospam at nospam.usys.com
Tue Feb 26 16:00:04 CET 2002
class Derived (Base):
# Embeds knowledge of superclass in method implementation.
b = Base()
# Find b's meth, Base.meth.
d = Derived()
# Find d's meth, Derived.meth
# Find d's chain, which in turn calls Base.meth.
# Call Base.meth directly.
# Probably a more object-oriented way...
More information about the Python-list