
May 11, 2013
3:31 a.m.
MRAB writes:
I think I'd go more for a triple-quoted string with a prefix for dedenting and removing newlines:
f = [m''' abc def ghi ''']
where f == ['abcdefghi'].
Cool enough, but
f = [m''' ... abc ... def ... ghi ... '''] f == ['abc def ghi'] True
Worse,
f = [m''' ... abc ... def ... ghi ... '''] f == ['abc def ghi'] True
Yikes! (Yeah, I know about consenting adults.)