equals method

equals

Determines whether two object instances are equal.

Returns

true if the specified object is equal to the current object; otherwise, false.

def equals(self, other):
    ...
Parameter Type Description
other Enumeration The object to compare with the current object.

See Also