removing list comprehensions in Python 3.0
Bengt Richter
bokr at oz.net
Sat Jul 9 11:02:02 EDT 2005
On Sat, 09 Jul 2005 10:16:17 -0400, Peter Hansen <peter at engcorp.com> wrote:
>Bengt Richter wrote:
>> On Fri, 08 Jul 2005 22:29:30 -0600, Steven Bethard <steven.bethard at gmail.com> wrote:
>>>(1) There's no reason to get uncomfortable even if they're removed.
>>>You'd just replace [] with list().
>>
>> So list(1, 2, 3) will be the same as [1, 2, 3] ??
>
>No, the discussion is about list comprehensions. [1,2,3] is not a list
>comprehension, as you know.
>
D'oh. Sorry to have come in from contextual outer space ;-/
Regards,
Bengt Richter
More information about the Python-list
mailing list