mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
This commit is contained in:
parent
5e2954e083
commit
1e1134a314
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue