Is types.InstanceType no longer valid with Python 2.2

Martin v. Loewis martin at
Thu Jan 3 21:02:35 EST 2002

"Emile van Sebille" <emile at> writes:

> Aside from Skip verifying that InstanceType works in 2.2 (which I hadn't,
> but have since) and so it should for you, one attribute that may do it is
> __class__.  I'm not aware that this is used otherwise.

Python 2.2+ (#486, Dec 22 2001, 21:46:52)
[GCC 2.95.3 20010315 (SuSE)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> list.__class__
<type 'type'>


More information about the Python-list mailing list