A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-October/057196.html below:

[Python-Dev] Extending tuple unpacking

[Python-Dev] Extending tuple unpacking [Python-Dev] Extending tuple unpackingNick 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4