]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
The Integral class does not contain implementations for the bit-shifting operations...
authorGeorg Brandl <georg@python.org>
Sun, 14 Apr 2013 09:58:54 +0000 (11:58 +0200)
committerGeorg Brandl <georg@python.org>
Sun, 14 Apr 2013 09:58:54 +0000 (11:58 +0200)
Doc/library/numbers.rst

index ad33396f107e65a33c60818adf739902702aeb41..fec04ed722cf90973b48bde3b3d59d6de658cae5 100644 (file)
@@ -71,10 +71,10 @@ The numeric tower
 
 .. class:: Integral
 
-   Subtypes :class:`Rational` and adds a conversion to :class:`int`.
-   Provides defaults for :func:`float`, :attr:`~Rational.numerator`, and
-   :attr:`~Rational.denominator`, and bit-string operations: ``<<``,
-   ``>>``, ``&``, ``^``, ``|``, ``~``.
+   Subtypes :class:`Rational` and adds a conversion to :class:`int`.  Provides
+   defaults for :func:`float`, :attr:`~Rational.numerator`, and
+   :attr:`~Rational.denominator`.  Adds abstract methods for ``**`` and
+   bit-string operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``.
 
 
 Notes for type implementors