default values in tuple assignment?

sosman news01 at metrak.KILLSPAM.com
Tue Jul 20 05:54:48 EDT 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