I'm working on a collection class that I want to create an __eq__
method for. It's turning out to be more nuanced than I thought it would be and I've noticed several intricacies as far as how the built-in collection classes work.
What would really help me the most is a good example. Are there any pure Python implementations of an __eq__
method either in the standard library or in any third-party libraries?