equals method
Leave feedback
On this page
Indicates whether the current object is equal to another object of the same type.
def equals(self, other):
...
| Parameter | Type | Description |
|---|---|---|
| other | RawRational |
An object to compare with this object. |
Returns: bool: True if the current object is equal to the other parameter; otherwise, False.
Indicates whether the current object is equal to another object of the same type.
def equals(self, obj):
...
| Parameter | Type | Description |
|---|---|---|
| obj | Any |
An object to compare with this object. |
Returns: bool: True if the current object is equal to the obj parameter; otherwise, False.
- class
RawRational
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.