[Python-checkins] cpython (3.3): The Integral class does not contain implementations for the bit-shifting
georg.brandl
python-checkins at python.org
Sun Apr 14 11:59:07 CEST 2013
http://hg.python.org/cpython/rev/1d4ba14cc505
changeset: 83354:1d4ba14cc505
branch: 3.3
parent: 83351:2dbdd0f1af74
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
@@ -71,10 +71,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