[EMAIL PROTECTED] writes:Was doing some string formatting, noticed the following:x = None "%s" % x'None'
Is there a reason it maps to 'None'? I had expected ''.
How would know, then, if there was no value at all or if it was an empty
string?
If you want the other effect, you can always do:
"%s" % (x or '')
--Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list