Today I came across this expression:
(x,_),(y,_) = load_data()
...and I'm wondering what is the order of assignment.
For example x,x,x = 1,2,3 set x to 3 from my test, does it actually set x to 1, 2, than 3?
What's the rule it follows? And what happens in more complex conditions like the first code snippet?
1,2,3is a tuple. So it has a defined order.import dis; dis.dis('(x,_),(y,_) = load_data()')This makes the order very clear