[Python-ideas] Implicit string literal concatenation considered harmful?
Chris Angelico
rosuav at gmail.com
Fri May 17 10:45:21 CEST 2013
On Fri, May 17, 2013 at 6:35 PM, Vernon D. Cole <vernondcole at gmail.com> wrote:
> My favorite candidate so far is the humble, under used, ellipses. Does it
> even _have_ an operator precedence? I don't know, because in ten years of
> Python coding I have never used it. I have used "if someFeature is
> NotImplemented:" and I think that reads pretty well. Ellipses, on the other
> hand, I have never found a use for. I know it exists, but...
It's not an operator, it's an operand. It doesn't have an entry on the
precedence table for the same reason that None, 5, and "Hello" don't.
ChrisA
More information about the Python-ideas
mailing list