"is not" operator?

sturlamolden sturlamolden at yahoo.no
Thu Jul 8 16:41:43 EDT 2010


On 8 Jul, 22:32, Robert Kern <robert.k... at gmail.com> wrote:

> > What happens here? Does Python (2.6.5) have an "is not" operator?
>
> Yes. From Grammar/Grammar:
>
> comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not'

Thanks :)




More information about the Python-list mailing list