zefciu wrote:

> I have a problem with inheritance under python.  The class definition is  
> longer, but the troublesome thing is:
> 
> from PIL import Image

that's a module, not a class.

> class MandelbrotImage (Image):
>       pass

PIL's Image class isn't designed to be inherited from.  to create new 
images, use the Image.new() factory.

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to