On Thu, 09 Apr 2009 18:53:13 +1200, Lawrence D'Oliveiro wrote:

> This is why conditional constructs should not accept any values other
> than True and False.

I once tried this:

for i in alist.sort():

and got an error I didn't understand because I failed to read the docs. 
Clearly for loops shouldn't take sequences but only an integer count, 
because that would have prevented my error.



-- 
Steven
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to