[Python-ideas] Unpack of sequences
Guido van Rossum
guido at python.org
Thu Aug 30 16:56:29 CEST 2012
On Wed, Aug 29, 2012 at 11:55 PM, Serhiy Storchaka <storchaka at gmail.com> wrote:
> On 29.08.12 21:07, Alexander Belopolsky wrote:
>>
>> How can users write a solution that does not require repetition of
>> variable names?
>
> def interior(a=None, b=None, c=None):
> ... # work here
>
> interior(m)
Bingo. Very nice solution!
--
--Guido van Rossum (python.org/~guido)
More information about the Python-ideas
mailing list