why no ++?

Alex Martelli aleaxit at yahoo.com
Mon Aug 6 15:57:57 EDT 2001


"Christopher A. Craig" <com-nospam at ccraig.org> wrote in message
news:mailman.997122491.16083.python-list at python.org...
    ...
> I had always thought the reason for not having i++ was because, in
> general, each line of Python code can have at most one lvalue.

I'm not sure what you mean, since 'lvalue' is not a Python
concept, but...:

    a=b,c,d=e='wow'

in what sense does this line of Python code 'have at most
one lvalue'...?


Alex






More information about the Python-list mailing list