[New-bugs-announce] [issue22944] Python argument tuple unpacking

Simon Zack report at bugs.python.org
Wed Nov 26 05:02:11 CET 2014


New submission from Simon Zack:

Python already has tuple unpacking in many places, I wonder if this has been considered for arguments yet, it seems rather convenient and a natural extension to me.

Here's what I mean:

def func((a, b, c)):
    print(a, b, c)

func((1, 2, 3))

should print "1 2 3"

----------
components: Interpreter Core
messages: 231689
nosy: simonzack
priority: normal
severity: normal
status: open
title: Python argument tuple unpacking

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22944>
_______________________________________


More information about the New-bugs-announce mailing list