Hacker News new | past | comments | ask | show | jobs | submit login

When OrderedDict is compared with another OrderedDict, it also checks whether the order of items is the same (this way also violating LSP, but that's another story), dict instances don't do that.



Thanks, I just learned something.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: