autoincrementing

Erik Max Francis max at alcyone.com
Tue Feb 25 10:14:56 CET 2003


Hilbert wrote:

> I've read somehwere the that newer versions of
> python support autoincrementing.

That information is incorrect.  Python does not have ++ or -- operators.

It _does_ have the augmented assignment operators, such as +=, -=, etc.,
support in Python 2.0 and above.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ We'll have to make our own luck from now on.
\__/ Louis Wu
    The laws list / http://www.alcyone.com/max/physics/laws/
 Laws, rules, principles, effects, paradoxes, etc. in physics.




More information about the Python-list mailing list