screenshot
dict_keys is PyListObject type and doesn’t behave like a regular Python list, as evidenced by the equality check.
I’m wondering how does the == on PyListObjects? Does it just check that all the elements are there, no matter the order, or is a sort performed before evaluating ==
Thanks in advance
New contributor
topquartile is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.