i Don't get why it makes trouble

Terry Reedy tjreedy at udel.edu
Fri Aug 14 00:45:23 EDT 2009


azrael wrote:

> Thanks Worked fine for me. I was a freakin idiot. I forgot about using
> a tuple. damn lists :D

The special casing of tuples versus other sequence objects with % 
formatting, and the forgetting and mistake making of multiple people is 
one of the reasons for the new .format system. Any sequence can either 
be passed and printed as a single object or *unrolled as multiple objects.

tjr




More information about the Python-list mailing list