[Python-checkins] cpython (2.7): The Integral class does not contain implementations for the bit-shifting

georg.brandl python-checkins at python.org
Sun Apr 14 11:59:06 CEST 2013


http://hg.python.org/cpython/rev/4678259af5a4
changeset:   83353:4678259af5a4
branch:      2.7
parent:      83350:c15a92210b48
user:        Georg Brandl <georg at python.org>
date:        Sun Apr 14 11:58:54 2013 +0200
summary:
  The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)

files:
  Doc/library/numbers.rst |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst
--- a/Doc/library/numbers.rst
+++ b/Doc/library/numbers.rst
@@ -73,10 +73,10 @@
 
 .. 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list