local variable referenced before assignment

Pete Bartonly none at try.invalid
Thu Oct 25 17:57:05 CEST 2007

A.T.Hofkamp wrote:
> On 2007-10-25, Pete Bartonly <none at try.invalid> wrote:
>> Quick question, probably quite a simple matter. Take the follow start of 
>> a method:

> With respect to compactness and style, you can move your multi-assignment
> statement in the for loop, as in

Btw, thanks for the tips on style too!

More information about the Python-list mailing list