mirror of
https://github.com/Z3Prover/z3
synced 2025-06-06 06:03:23 +00:00
parent
0e6aaf0211
commit
023c564839
1 changed files with 2 additions and 2 deletions
|
@ -536,7 +536,7 @@ class SortRef(AstRef):
|
||||||
|
|
||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
""" Hash code. """
|
""" Hash code. """
|
||||||
AstRef.__hash__(self)
|
return AstRef.__hash__(self)
|
||||||
|
|
||||||
def is_sort(s):
|
def is_sort(s):
|
||||||
"""Return `True` if `s` is a Z3 sort.
|
"""Return `True` if `s` is a Z3 sort.
|
||||||
|
@ -802,7 +802,7 @@ class ExprRef(AstRef):
|
||||||
|
|
||||||
def __hash__(self):
|
def __hash__(self):
|
||||||
""" Hash code. """
|
""" Hash code. """
|
||||||
AstRef.__hash__(self)
|
return AstRef.__hash__(self)
|
||||||
|
|
||||||
def __ne__(self, other):
|
def __ne__(self, other):
|
||||||
"""Return a Z3 expression that represents the constraint `self != other`.
|
"""Return a Z3 expression that represents the constraint `self != other`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue