[PyKDE] Add __repr__ for simple types?

Giovanni Bajo rasky at develer.com
Mon May 2 16:37:06 BST 2005


Hello,

would it be possible to add a specific __repr__ function for classes like
QPoint, QRect, QSize, QString, QStringList, QObject (show its name if any),
etc.? It is unfortunate that printing them is not enough to show their
contents.

Thanks!
-- 
Giovanni Bajo




More information about the PyQt mailing list