~x
This operation negates each bit. For integers, this is equivalent to CODE "-x - 1".
i1 : ~toPython 5 o1 = -6 o1 : PythonObject of class int
The source of this document is in /__w/M2/M2/macaulay2-1.26.05+ds/M2/Macaulay2/packages/Python/doc/bitwise.m2:523:0.