campo.sub¶
- campo.sub(self, other)¶
Subtraction, equivalent to the - operator.
The - operator subtracts for each object the property values of two properties. The properties must be from the same property set, or one argument can be a number.
- Parameters:
arg1 (Property or number) – minuend
arg2 (Property or number) – subtrahend
- Returns:
a property with the difference
- Return type:
Property