On 6/25/05, Uwe Mayer <[EMAIL PROTECTED]> wrote:
> AFAIK super only works with new-style classes, so I checked:
> 
> >>> from qtcanvas import *
> >>> isinstance(QCanvasItem, object)
> True

AFAIK, this is not the right way to check for new-styledness:

>>> class X: "i'm an old-styler"
>>> isinstance(X(), object)
True

But this is:

>>> isinstance(X, type)
False

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

Reply via email to