[PyKDE] Printing empty QStrings

Phil Thompson phil at river-bank.demon.co.uk
Fri Nov 3 18:19:42 GMT 2000


Coy Krill wrote:
> 
> According to the "Python Essential Reference" repr should return a string
> that when evaluated would recreate the object. For a null QString repr should
> return something like "QString()" .

I've never taken this too seriously as nothing else seems to follow it
to the letter - normal class instances for example. Does it mean exactly
the same object - what about the ctor arguments?

Phil




More information about the PyQt mailing list