Hi, Q: from the subject, why objects of old style classes are instances of 'object'?
>>> class a():pass >>> A=a() >>> isinstance(A,object) True I would expect False Thx, Andy -- http://mail.python.org/mailman/listinfo/python-list
Hi, Q: from the subject, why objects of old style classes are instances of 'object'?
>>> class a():pass >>> A=a() >>> isinstance(A,object) True I would expect False Thx, Andy -- http://mail.python.org/mailman/listinfo/python-list