Can I be sure about the order in a Python dictionary?
The function op.GetTangent(id) returns a dictionary containing two values associated with 'vl' and 'vr'. I want to unpack it the lazy way.
vr, vl = op.GetTangent(id).values()
Can I be sure that vr and vl have the correct value or can there be a case where they’re exchanged?
1 Answer