The unary - (minus) operator yields the negation of its numeric argument.
-
If the argument does not have the proper type, a TypeError exception is raised.
To support this operator in your own classes, implement the __neg__ method.
this page was rendered by a django application in 0.01s 2011-06-21 22:24:36.157570. hosted by webfaction.