Fix Python 3 function def doesn't allow tuple expansion
Fix Python 3 function def doesn't allow tuple expansion

Tuples can't be expanded in function definitions in Python 3, so we have
to expand it in the function body.

kyleniemeyer/CanSen,bryanwweber/CanSen