[Python-ideas] Implicit string literal concatenation considered harmful?
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat May 11 02:43:48 CEST 2013
Antoine Pitrou wrote:
> As for "+", saying it is a replacement is a bit simplified, because
> the syntax definition (for method calls) or operator precedence (for
> e.g. %-formatting) may force you to add parentheses.
Maybe we could turn ... into a "string continuation
operator":
print("This is example %d of a line that is "...
"too long" % example_number)
--
Greg
More information about the Python-ideas
mailing list