mirror of https://github.com/python/cpython.git
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
This commit is contained in:
parent
5e2954e083
commit
1e1134a314
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue