create_unary(op, tree, modifiers=None)#

Return the expression tree for a unary operator.

Parameters:
opstr

Unary operator to call: - | + | !

treeEX

Operand: expression tree.

modifiersUnion[ET, LIST[ET]], default: None

List of higher-order constructs.

Returns:
ET