Jeff Shannon wrote:
Function arguments are *not* (in general) a case of tuple unpacking, on the other hand, so the parallels between function arguments and for loop control-variable tuples are not so straightforward as is being claimed.
It seems to me the parallel is close enough that no confusion would result.
Can you think of any situation in which surprising behaviour would occur through someone thinking the parallel was closer than it is?
-- Greg Ewing, Computer Science Dept, University of Canterbury, Christchurch, New Zealand http://www.cosc.canterbury.ac.nz/~greg -- http://mail.python.org/mailman/listinfo/python-list