Deprecated: list comp leak use

Terry Reedy tjreedy at udel.edu
Tue Oct 21 09:34:33 EDT 2003


"John Roth" <newsgroups at jhrothjr.com> wrote in message
news:vpa6a9a8s0cj60 at news.supernews.com...
> > The name i was bound within the list comprehension.  The Reference
> > Manual currently says nothing about this behavior.
>
> However, the tutorial for 2.2.3 not only describes it,

That I see

>but it gives an example of how it can be used.

That I don't, unless you mean this
>>> x                           # the final value for range(5)
4

Thanks.  I will point this out to appropriate persons.

Terry J. Reedy






More information about the Python-list mailing list