mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
apifunction.py: Cleanup comment with the assumption that everything is Python 3.
PiperOrigin-RevId: 811381454
This commit is contained in:
parent
c4f02f52d4
commit
6e1f70c7ef
@ -60,7 +60,7 @@ class ApiFunction(function.Function):
|
||||
return (isinstance(other, ApiFunction) and
|
||||
self.getSignature() == other.getSignature())
|
||||
|
||||
# For Python 3, __hash__ is needed because __eq__ is defined.
|
||||
# __hash__ is needed because __eq__ is defined.
|
||||
# See https://docs.python.org/3/reference/datamodel.html#object.__hash__
|
||||
def __hash__(self) -> int:
|
||||
return hash(computedobject.ComputedObject.freeze(self.getSignature()))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user