Called to implement the unary arithmetic operations (-, +, abs() and ~).
builtins/object.__invert__
object.__invert__