compare_to method
compare_to
Compares the current object to another.
def compare_to(self, obj):
...
| Parameter | Type | Description |
|---|---|---|
| obj | Any |
The other object. |
Returns: int: zero if equal.
See Also
- class
Enumeration
Compares the current object to another.
def compare_to(self, obj):
...
| Parameter | Type | Description |
|---|---|---|
| obj | Any |
The other object. |
Returns: int: zero if equal.
Enumeration