none/Ben wrote:
>
> Assignment within a while loop seems like a pretty standard thing, so I'm just
> curious what I'm missing.

The FAQ on this subject? ;-)

http://www.python.org/doc/faq/general/#why-can-t-i-use-an-assignment-in-an-expression

It's "standard" in C-flavoured languages, certainly, but probably not
ubiquitous.

Paul

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

Reply via email to