PyDocs

Nav

Python Runtime Services

object.__neg__

builtins

method of object
  • object.__neg__(self)
Called to implement the unary arithmetic operations (-, +, abs() and ~).
0 Examples
No examples for builtins/object.__neg__.
See Also
No see-alsos for builtins/object.__neg__
0 Notes
No notes for object.__neg__