summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-11-06 17:29:57 -0500
committerPeter LaFosse <peter@vector35.com>2017-11-06 17:29:57 -0500
commit16a4d413d58d2cb29be97781bba0b52546afa390 (patch)
treee9f27f78d024606faa18acc763813c2d1f9321db /python/function.py
parentb54bf0745bd9ef9809dfce1a8937622f8ed92df5 (diff)
parentaf062c5608b6a4abb60c3d6ebc193d3ac929165b (diff)
Merge branch 'dev'
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/function.py b/python/function.py
index cbbdf9bd..f8aaae44 100644
--- a/python/function.py
+++ b/python/function.py
@@ -241,10 +241,10 @@ class Variable(object):
return self.name
def __eq__(self, other):
- return self.identifier == other.identifier
+ return (self.identifier, self.function) == (other.identifier, other.function)
def __hash__(self):
- return hash(self.identifier)
+ return hash((self.identifier, self.function))
class ConstantReference(object):