A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-March/052463.html below:

[Python-Dev] Re: comprehension abbreviation (was: Adding any() andall())

[Python-Dev] Re: comprehension abbreviation (was: Adding any() andall()) [Python-Dev] Re: comprehension abbreviation (was: Adding any() andall())Terry Reedy tjreedy at udel.edu
Wed Mar 30 03:41:16 CEST 2005
"Steve Holden" <steve at holdenweb.com> wrote in message 
news:d2asg9$3tf$1 at sea.gmane.org...
> Having to write
>
>     [x for x in seq]
>
> to produce a copy of a list doesn't seem that outrageous to me,

Except for (currently) leaving the last value of sequence bound to 'x' 
after making the copy, how is the above different from list(seq)?

TJR



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4