compare_to method

compare_to

Compares current object to other.

Returns

zero if equal

def compare_to(self, obj):
    ...
Parameter Type Description
obj any The other object

See Also