<> and DeprecationWarning
Duncan Booth
duncan at NOSPAMrcp.co.uk
Wed Oct 22 04:39:24 EDT 2003
mertz at gnosis.cx (David Mertz) wrote in
news:mailman.309.1066759490.2192.python-list at python.org:
> The problem, to my mind, with '!=' is the series:
>
> x += y
> x -= y
> x %= y
> x &= y
> x != y
>
> One of these things is not like the others. REALLY, really not like the
> others (the first four are assignment statements, the last an
> expression).
Why didn't you pick this list instead?
x <= y
x >= y
x != y
x == y
x /= y
One of these things is not like the others. REALLY, really not like the
others (the first four are expressions, the last an assignment statement).
--
Duncan Booth duncan at rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
More information about the Python-list
mailing list