class numbers.Integral
Subtypes Rational and adds a conversion to int. Provides defaults for float(), numerator, and denominator. Adds abstract methods for ** and bit-string operations: <<, >>, &, ^, |, ~.
Rational
int
float()
numerator
denominator
**
<<
>>
&
^
|
~
Please login to continue.
Please login to continue.