ID EN
Operators

neg

Python 3.11

Return obj negated (-obj).

Syntax

PYTHON
operator.neg(obj)