Message179548
The colon is the first invalid char, for example this is valid python and works:
>>> things = ['a', 'b']
>>> things.append('c'
... for a in things)
>>> things
['a', 'b', <generator object <genexpr> at 0xb76dacfc>]
In your case Python expects a genexp like things.append('c' for a in things), and when it finds the ':' it gives error.
If you use e.g. a 'while', you will see the error earlier:
>>> things = ['a', 'b']
>>> things.append('c'
... while True:
File "<stdin>", line 2
while True:
^
SyntaxError: invalid syntax |
|
Date |
User |
Action |
Args |
2013-01-10 14:23:07 | ezio.melotti | set | recipients:
+ ezio.melotti, kermit666 |
2013-01-10 14:22:57 | ezio.melotti | set | messageid: <1357827777.72.0.927311587324.issue16917@psf.upfronthosting.co.za> |
2013-01-10 14:22:57 | ezio.melotti | link | issue16917 messages |
2013-01-10 14:22:55 | ezio.melotti | create | |
|