
May 11, 2013
11:59 p.m.
Ian Cordasco wrote:
But + is already a supported operation on strings and has been since at least python 2. It is already there and it doesn't require a new dunder method for concatenating with the Ellipsis object.
There would be no dunder method, because it's not a run-time operation. It's a syntax for writing a string literal that spans more than one line. Using it between any two things that are not string literals would be a syntax error. -- Greg