Mark Dickinson added the comment:

> The error is in a missing parenthesis after the append call

Well, that's one *possible* cause of the error.  But fixing that missing 
parenthesis isn't the only way to make the code correct, and Python doesn't 
have any reasonable way to guess which of the various possible errors you made 
or what you intended to write.  For example, the following is valid code:

things = ['a', 'b']
things.append('c'
for a in things)

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16917>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to