summaryrefslogtreecommitdiff
path: root/python/variable.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-01-21 15:50:25 -0500
committerPeter LaFosse <peter@vector35.com>2022-01-24 14:32:16 -0500
commit800f20d72c94a7e69b542540b40c853975842b07 (patch)
treef51142f82336f0ca87d1c57db1e9e465efb9bce7 /python/variable.py
parentba7e8e2b2b9d6e97de4cb99c4e810c65b49ce408 (diff)
Fix Variable.__hash__ and fix some Type APIs
Diffstat (limited to 'python/variable.py')
-rw-r--r--python/variable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/variable.py b/python/variable.py
index 3862d95b..67dc2cac 100644
--- a/python/variable.py
+++ b/python/variable.py
@@ -694,7 +694,7 @@ class Variable(CoreVariable):
return super().__ge__(other) and self._function >= other._function
def __hash__(self):
- return hash((self._function, super()))
+ return hash((self._function, super().__hash__()))
@property
def core_variable(self) -> CoreVariable: