[Image-SIG] how to subclass Image?
William Henney
whenney at gmail.com
Wed Mar 29 17:27:23 CEST 2006
William Henney <whenney at gmail.com> writes:
> "Fredrik Lundh" <fredrik at pythonware.com> writes:
>
>> the Image class isn't designed to be subclassed by application code. if
>> you want custom behaviour, use a delegating wrapper.
>>
>
> Hmm, OK. Could you give some pointers as to what you mean?
OK, no need to bother. I found the FAQ:
http://www.python.org/doc/faq/programming.html#what-is-delegation
That should be enough to get me going.
Cheers
Will
--
Dr William Henney, Centro de Radioastronomía y Astrofísica,
Universidad Nacional Autónoma de México, Campus Morelia
More information about the Image-SIG
mailing list