more fun with PEP 276

Duncan Booth duncan at
Thu Dec 13 03:45:35 EST 2001

"Tony J Ibbs (Tibs)" <tony at> wrote in 
news:mailman.1008176597.9834.python-list at

> For American English speakers, I suspect that::
>     for i in -5 through 5:
> and::
>     for i in -5 to 5:
> may work (did I get that right?), but for British English speakers those
> wouldn't work terribly well (even despite the gradual merging of
> languages), since that distinctive use of "through" is not common. 

Don't the Americans spell it 'thru'?

Duncan Booth                                             duncan at
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