mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 20:38:43 +00:00
Overload xor operator for BoolRef (#7043)
This commit is contained in:
parent
4d4359f78a
commit
764f0d54a4
|
@ -1594,6 +1594,9 @@ class BoolRef(ExprRef):
|
|||
def __or__(self, other):
|
||||
return Or(self, other)
|
||||
|
||||
def __xor__(self, other):
|
||||
return Xor(self, other)
|
||||
|
||||
def __invert__(self):
|
||||
return Not(self)
|
||||
|
||||
|
|
Loading…
Reference in a new issue