extending objects (object-specific subclassing)
David Garamond
davegaramond at icqmail.com
Sun Jan 26 23:47:31 EST 2003
Peter Abel wrote:
> Forget, what I wrote here.
> Python made me believe it would work.
yes, i once did that too :-)
> It will only override an object-method with
> a function. But from this function you can't
> access to object's attributes.
> Now I understand the difference for myself.
>
> For correct information see thread:
> "Replacing methods without subclassing"
> at comp.lang.python.
thanks for the tip, peter.
--
dave
More information about the Python-list
mailing list