Home
/
Python 3.11
/
Operators
/
neg
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Operators
neg
Python 3.11
Return obj negated (-obj).
Syntax
PYTHON
Copy
operator.neg(obj)