[Tutor] summer_v04.py

Rikard Bosnjakovic rikard.bosnjakovic at gmail.com
Wed Feb 21 04:39:05 CET 2007


On 2/21/07, John Fouhy <john at fouhy.net> wrote:

> (because you are using a generator expression, and they were only
> introduced in 2.4)

List comprehensions were implemented in v2.0. The OP probably does not
use an older version, but as far as I can see, his syntax error line
uses parenthesis - not brackets - hence the error.


-- 
- Rikard.


More information about the Tutor mailing list