[Python-Dev] accumulator display syntax
Alex Martelli
aleaxit at yahoo.com
Tue Oct 21 06:03:49 EDT 2003
On Monday 20 October 2003 18:37, Guido van Rossum wrote:
...
> > >>> [.2 for .2 in range(3)]
> >
> > SyntaxError: can't assign to literal
> >
> > I think I don't understand what you mean.
>
> I meant that the compiler should rename it. Just like when you use a
<<sound effect of hand slapping forehead>> I'm being rather thick these
days, I guess. Thanks for clarifying!
Alex
More information about the Python-Dev
mailing list