[PyKDE] Printing empty QStrings

Andrew Kuchling akuchlin at mems-exchange.org
Thu Nov 2 20:08:22 GMT 2000


On Thu, Nov 02, 2000 at 05:50:15PM +0000, Phil Thompson wrote:
>I'm more and more inclined to go with repr of a null QString and an
                                       ^^^^
>empty QString to both return an empty Python string. Generally QString

This is a typo for str, right?  repr() is commonly used for debugging
printouts, so you usually want as much info as possible.

--amk




More information about the PyQt mailing list