[EMAIL PROTECTED] wrote:
Was doing some string formatting, noticed the following:
x = None "%s" % x'None'
Is there a reason it maps to 'None'? I had expected ''.
Because %s just calls str on the arguments, and str(None) == 'None'.
-- Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis As far as I'm concerned, being any gender is a drag. -- Patti Smith -- http://mail.python.org/mailman/listinfo/python-list