Re: don't understand MRO

2005-06-24 Thread Martin Franklin
Uwe Mayer wrote: > Thursday 23 June 2005 19:22 pm Terry Reedy wrote: > > [...] > >>In the absence of other information, I would presume that none of the >>other classes have a move() method. > > > move() is implemented in the class qtcanvas.QCanvasItem > I checked the pyqt sources and it is lin

Re: don't understand MRO

2005-06-23 Thread Uwe Mayer
Thursday 23 June 2005 19:22 pm Terry Reedy wrote: [...] > In the absence of other information, I would presume that none of the > other classes have a move() method. move() is implemented in the class qtcanvas.QCanvasItem I checked the pyqt sources and it is linked via sip to the C++ object file.

Re: don't understand MRO

2005-06-23 Thread Terry Reedy
"Uwe Mayer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a subclassed PyQt class: > > class Node(object): >def move(self, x,y): pass > > class CRhomb(QCanvasPolygon, Node): pass > > $ python > v2.4.1 CRhomb.mro() > [, , 'qtcanvas.QCanvasPolygonalItem'>, , 'q