Steve Holden <[EMAIL PROTECTED]> wrote: >> As a matter of interest do PyLint or PyChecker check for this situation >> (chained assignment where the target of an assignment is also a >> subexpression of a later assignment)? >> > Where's the published syntax for chained assignment?
http://docs.python.org/ref/assignment.html More specifically, since you seem to have missed it, it's the '+' in the line: assignment_stmt ::= (target_list "=")+ expression_list And then the clear statement "assigns the single resulting object to each of the target lists, from left to right". -- http://mail.python.org/mailman/listinfo/python-list