[PyKDE] Printing empty QStrings

Andrew Kuchling akuchlin at mems-exchange.org
Wed Nov 1 21:16:45 GMT 2000


On Wed, Nov 01, 2000 at 02:06:35PM +0100, Johannes Sixt quoted someone:
>>of a string object. PyQt could return a string object containing "None"
>>(although "null" would be better) but then 'print QString()' and 'print
>>QString("None")' would do exactly the same thing.

So what?  print None and print "None" produce exactly the same thing,
too.  A null QString and a QString of length 0 seem like very
different things, and not interchangeable ones.

--amk





More information about the PyQt mailing list