None in string formatting
rodney.maxwell at gmail.com
rodney.maxwell at gmail.com
Tue Mar 8 14:49:00 EST 2005
Was doing some string formatting, noticed the following:
>>> x = None
>>> "%s" % x
'None'
Is there a reason it maps to 'None'? I had expected ''.
More information about the Python-list
mailing list