3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

Merge pull request #295 from pazz/AstRef-hash

add __hash__ to AstRef
This commit is contained in:
Nikolaj Bjorner 2015-11-05 16:20:10 -08:00
commit 63ea2c4d8f

View file

@ -284,6 +284,9 @@ class AstRef(Z3PPObject):
def __repr__(self):
return obj_to_string(self)
def __hash__(self):
return self.hash()
def sexpr(self):
"""Return an string representing the AST node in s-expression notation.