__mod__


Definition
The return with the remainder of b and divided by a.

Syntax
__mod__

Parameters
Number

Examples
The return is:
 >>> Fraction(2,3).numerator.__mod__(2)
0

The returned with the mod.
 >>> Fraction(1,1).real.__mod__(Fraction(1, 1))
Fraction(0, 1)

Comments