From: Georg Brandl Date: Sun, 14 Apr 2013 09:58:54 +0000 (+0200) Subject: The Integral class does not contain implementations for the bit-shifting operations... X-Git-Tag: v2.7.5~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34f5dd0684d852b9cec6733dbca9486e427a83a2;p=thirdparty%2FPython%2Fcpython.git The Integral class does not contain implementations for the bit-shifting operations. (See #3056.) --- diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst index f46e8ac824ea..8811b5df8ce1 100644 --- a/Doc/library/numbers.rst +++ b/Doc/library/numbers.rst @@ -73,10 +73,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