On Tue, Nov 29, 2005 at 10:41:13AM +0000, Bengt Richter wrote:
> Seems like str.__mod__ could take an arbitary (BTW, matching length,
> necessarily?
> Or just long enough?) iterable in place of a tuple, just like it can take
> an arbitrary mapping object in place of a dict for e.g. '%(name)s'%
> {'name':'<name value>'}What, and break reams of perfectly working code? s = set([1, 2, 3]) t = [4, 5, 6] u = "qwerty" v = iter([None]) print "The set is: %s" % s print "The list is: %s" % t print "The string is: %s" % u print "The iterable is: %s" % v Jeff
pgpb5oni2WBfO.pgp
Description: PGP signature
-- http://mail.python.org/mailman/listinfo/python-list
