"not x in" vs. "x not in"

Remco Gerlich scarblac at pino.selwerd.nl
Wed Apr 4 13:33:43 EDT 2001


deadmeat <root@[127.0.0.1]> wrote in comp.lang.python:
> > Why is there a "not in" operator? For clarity?
> > (Not that I oppose "not in" in any way. I like it. I'm just curious.)
> 
> We also have "x != y" in addition to "not x == y"  :)

And even x <> y...

-- 
Remco Gerlich



More information about the Python-list mailing list