default values in tuple assignment?

sosman news01 at
Tue Jul 20 11:54:48 CEST 2004

I take it python doesn't support defaults when assigning to a tuple, eg:

for line in file:
	(parameter, value, units = 'kg') = line.split()

along the lines of default parameter assignment in function calls.

More information about the Python-list mailing list