diff options
| author | Peter LaFosse <peter@vector35.com> | 2017-11-06 17:29:57 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2017-11-06 17:29:57 -0500 |
| commit | 16a4d413d58d2cb29be97781bba0b52546afa390 (patch) | |
| tree | e9f27f78d024606faa18acc763813c2d1f9321db /python/function.py | |
| parent | b54bf0745bd9ef9809dfce1a8937622f8ed92df5 (diff) | |
| parent | af062c5608b6a4abb60c3d6ebc193d3ac929165b (diff) | |
Merge branch 'dev'
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 4 |
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): |
