why objects of old style classes are instances of 'object'
AlFire
spamgrinder.trylater at gmail.com
Thu Apr 17 10:52:15 EDT 2008
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
More information about the Python-list
mailing list