[Python-Dev] Extending tuple unpacking
Nick Coghlan
ncoghlan at gmail.com
Tue Oct 11 16:54:19 CEST 2005
Nick Coghlan wrote:
> For me, it stops when the rules for positional name binding are more
> consistent across operations that bind names (although complete consistency
> isn't possible, given that function calls don't unpack sequences automatically).
Oops - forgot to delete this bit once I realised that functions actually *do*
unpack the arugment tuple automatically. It's just that an argument which is a
single sequence gets put into a singleton tuple before being unpacked.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://boredomandlaziness.blogspot.com
More information about the Python-Dev
mailing list