summaryrefslogtreecommitdiffstats
path: root/Doc/library/numbers.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-04-14 09:58:54 (GMT)
committerGeorg Brandl <georg@python.org>2013-04-14 09:58:54 (GMT)
commit1e1134a314cdf2fa3bf154d638bf2506182ca31b (patch)
treeec91d5bf74daff2485aa1b5df49c3e4fee8320a9 /Doc/library/numbers.rst
parent5e2954e083987a78ee2d0de81b3d1a37cc445719 (diff)
downloadcpython-1e1134a314cdf2fa3bf154d638bf2506182ca31b.zip
cpython-1e1134a314cdf2fa3bf154d638bf2506182ca31b.tar.gz
cpython-1e1134a314cdf2fa3bf154d638bf2506182ca31b.tar.bz2
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
Diffstat (limited to 'Doc/library/numbers.rst')
-rw-r--r--Doc/library/numbers.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/numbers.rst b/Doc/library/numbers.rst
index ad33396..fec04ed 100644
--- a/Doc/library/numbers.rst
+++ b/Doc/library/numbers.rst
@@ -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