Is 'x' an instance of a new-style class?

MatthewS at
Tue Sep 16 10:26:14 CEST 2008

I've seen the question raised several times here, but apparently never
answered. Since PyInstance_Check returns False for new-style class
instances, is there a standard procedure for testing this using the C-

I would greatly appreciate some help with this.


More information about the Python-list mailing list