cf.List.__eq__

List.__eq__(y)[source]

The rich comparison operator ==

x.__eq__(y) <==> x==y