operator-sub

The - (subtraction) operator yields the difference of its arguments. The numeric arguments are first converted to a common type.

To support this operator in your own classes, implement the __sub__ method.

 

A Django site. rendered by a django application. hosted by webfaction.