extending objects (object-specific subclassing)
davegaramond at icqmail.com
Mon Jan 27 05:47:31 CET 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.
More information about the Python-list