def syn_UnaryOp(self, ctx, e): if isinstance(e.op, ast.Not): return self else: raise _errors.TyError( """Type bool does not support this unary operator.""", e)