Re:Learn Python in minutes
by eurleif on Friday June 28, 2013 @04:21PM
(#5960144)
Yes, that is the same with or without parentheses. You're creating a tuple on the right-hand side of the equal sign, and using tuple unpacking on the left-hand side to assign the members of that tuple to variables. To make it a bit more clear, you can add parentheses on the left to match the ones on the right:
[ Parent
| on HN ]
There are no comments on this comment yet.