Is there something happening when string formatting that uses the modulus function while calling either
StringOperand % TupleOperand
or
StringOperand % DictionaryOperand
Or is it just an arbitrary use of % for the string formatting function?
I'm guessing that the string formatting operator is not a call to modular arithmetic as the following:
tuple = (1,2,3)
print '%d %d %d'%tuple
prints: 1 2 3, but
print '%d %d %d %d'%tuple
returns TypeError: not enough args for format str