[PyKDE] How to test if two PyQt instances wrap the same C++ object?

Aurélien Gâteau aurelien at dental-on-line.fr
Wed Oct 22 10:39:00 BST 2003

Le Mercredi 22 Octobre 2003 10:19, Gerard Vermeulen a écrit :
>         if ( object == (QObject *)axis(yLeft) )  // HOW TO THIS IN PYTHON?
Not sure at all, but maybe this will do:

   if object is axis(yLeft):

Hope this helps,

More information about the PyQt mailing list