Paddy wrote: > ... irrelevant as in 'although only mutable objects can have their > state modified; if n has a mutable value but the assignment statement > changed n to refer to another object, then the name would be tagged as > local'? > > Oh bosh, can anyone come at it from a different tack?
look for "Assignment of an object to a single target is recursively defined as follows" on this page (or at the corresponding page in the language reference): http://pyref.infogami.com/assignments </F> -- http://mail.python.org/mailman/listinfo/python-list