__invert__(self)

Called to implement unary bitwise inversion (~).