Martin v. Löwis wrote:

> OTOH, you can't write
> 
>    x + = 2
> 
> or
> 
>    a = 2 * * 4

Although oddly enough you *can* write

    a[. . .]

I guess whoever added the ellipsis couldn't be bothered
defining a new token for it.

It's something of an arbitrary choice, but to me it just
seems that the dot and bracket *should* be separare
tokens, perhaps because I would be thinking of the
[x] as a special kind of argument to the dot operator,
rather than there being a funny new operator called ".[".

--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to