equals method

On this page

equals

Determines whether the given object is equal to the current instance.

def equals(self, obj):
    ...
Parameter Type Description
obj Any Instance to compare with.

Returns: bool: True if properties of objects are equal.

See Also

On this page