operator
The operator module exports a set of efficient functions corresponding to the intrinsic operators in Python. For example, operator.add(x, y)
is equivalent to the expression x+y
.
The function fall into categories that perform:
Refer to operator
— Standard operators as functions for the full list of operator functions.