Re:Lesser known parts of Python standard library – Trickster...
by Flimm on Thursday September 05, 2024 @08:05AM
(#41455786)
Two dictionaries with equal keys and values are considered equal in Python, even if the order of the entries differ. By contrast, two OrderedDict objects are only equal if their respective entries are equal and if their order does not differ.
[ Parent
| on HN ]
There are no comments on this comment yet.