mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 12:23:38 +00:00
Overload xor operator for BoolRef (#7043)
This commit is contained in:
parent
4d4359f78a
commit
764f0d54a4
1 changed files with 3 additions and 0 deletions
|
@ -1593,6 +1593,9 @@ class BoolRef(ExprRef):
|
||||||
|
|
||||||
def __or__(self, other):
|
def __or__(self, other):
|
||||||
return Or(self, other)
|
return Or(self, other)
|
||||||
|
|
||||||
|
def __xor__(self, other):
|
||||||
|
return Xor(self, other)
|
||||||
|
|
||||||
def __invert__(self):
|
def __invert__(self):
|
||||||
return Not(self)
|
return Not(self)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue