Petr Prikryl wrote:
Hi,
Summary: In my opinion, the C-like prefix increment and decrement operators (++i and --i) should be marked as "syntax error".
Let me rephrase my answer. This is a good sugestion for Python 3.0, a.k.a. Python 3000: http://www.python.org/cgi-bin/moinmoin/Python3.0
In the future you may be able to to this:
variable++
However, Python 3.0 is likely years away. If you want to know how to run this code today, ask Fredrik Lundh.
--
http://mail.python.org/mailman/listinfo/python-list