
May 11, 2013
5:16 a.m.
Mark Janssen writes:
Maybe we could turn ... into a "string continuation operator":
print("This is example %d of a line that is "... "too long" % example_number)
I think that is an awesome idea.
Violates TOOWTDI. >>> print("This is an" + # traditional explicit operator ... " %s idea." % ("awesome" if False else "unimpressive")) This is an unimpressive idea. >>> already works (and always has AFAIK -- modulo the ternary operator, of course).