C API: how to tell if x is a new style instance?

Michal Vitecek fuf at mageo.cz
Wed Jan 28 19:40:40 CET 2004


 hello everyone,

 i've tried to find a way to determine in the python C-API if x is an
 instance of a (damned) new style class, but failed :/

 can someone please tell me how this could be accomplished?

        thank you,
-- 
		fuf		(fuf at mageo.cz)




More information about the Python-list mailing list