x xor yPerform the logical exclusive disjunction ("xor") operation on Python objects.
|
If one of the arguments is a Macaulay2 object, then it is first converted to a Python object.
|
|
Unlike Macaulay2, Python supports using xor with non-boolean objects. If exactly one of the arguments is truthy, then it will return that argument. Otherwise, it will return False.
|
|
|
The source of this document is in Python/doc/logical.m2:149:0.