python 不是什么?特殊功能类型?

What is python's not? A special function type?

在 R 中,!实际上是一个中缀运算符 `!`,所以像

这样的语句
Map(`!`,c(T,F,F))

完全有效。有没有办法访问不在 Python 中的一阶对象?我一直在谷歌搜索没有成功。

Python 有 operator module, which includes a operator.not_() function:

import operator

map(operator.not_, (True, False, False))

not本身就是boolean operators之一。