Duncan Booth wrote:
> 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".

Got it, thanks. See my further remarks in my reply to your last.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb     http://del.icio.us/steve.holden
Recent Ramblings       http://holdenweb.blogspot.com

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

Reply via email to