logicalbinop

The logical binary operators.

声明

语法

logicalbinop = And | Or | Xor | NEqv | Eqv

Values

Value

Meaning

And

.and.

Or

.or.

Xor

exclusive or.

NEqv

.neqv., which is exclusive or.

Eqv

.eqv., which is equivalence.

返回值

None. An enumeration value is not evaluated.

描述

Xor and NEqv compute the same result: they are separate values so that unparsed ASR reproduces the operator that was written.

也可以看看

LogicalBinOp, OverloadedBoolOp, binop