Contains/equals

Karsten Wutzke kwutzke at web.de
Thu Aug 19 16:21:56 CEST 2010


Hello,

I have an object which has a list of other complex objects. How do I
best achieve a complex "contains" comparison based on the object's
class? In Java terms, I'm looking for an equivalent to equals(Object)
in Python. Does a similar thing exist? Directions appreciated.

Karsten



More information about the Python-list mailing list