autoincrementing

Hilbert hilbert at microsoft.com
Tue Feb 25 03:41:23 EST 2003


Hello,

I've read somehwere the that newer versions of
python support autoincrementing. I've just upgraded
from 1.5.2 to 2.2.2, and

i=1
i++

still gives me a syntax error. I can do

i+=1

however. Why doesn't i++ work?

Thanks,
Hilbert







More information about the Python-list mailing list