Carl Banks wrote:
On Aug 7, 8:56 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
That is only true and only works for 2.x old-style classes and not for
2.x new-style classes and all 3.0 classes, for which isinstance(Q,type)
is True.
isinstance(Q,type) is also true for built in types and C extension
types
That is rather the point of new and improved classes -- that the
implementation language of a class be pretty much irrelevant from the
user api viewpoint ;-)
--
http://mail.python.org/mailman/listinfo/python-list