Reputation: 8030
In Python3 the following code doesn't work anymore:
def function((a, (b, c))):
pass
Why was it removed? What's the reason?
Upvotes: 2
Views: 810
Reputation: 106
You can find the answer by reading PEP 3113. In short words: There were more troubles in keeping the tuple parameter unpacking than removing it.
Upvotes: 3