def syn_UnaryOp(self, ctx, e): if not isinstance(e.op, (ast.Not, ast.Invert)): return self else: raise _errors.TyError("Invalid unary operator for operand of type cplx.", e)