next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Python :: PythonObject ~

PythonObject ~ -- bitwise not of a python object

Synopsis

Description

This calls Python's special __invert__ method.

i1 : (toPython 5)~

o1 = -6

o1 : PythonObject of class int

Ways to use this method: