Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e1134a

Browse files
committed
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
1 parent 5e2954e commit 1e1134a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/numbers.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ The numeric tower
7171

7272
.. class:: Integral
7373

74-
Subtypes :class:`Rational` and adds a conversion to :class:`int`.
75-
Provides defaults for :func:`float`, :attr:`~Rational.numerator`, and
76-
:attr:`~Rational.denominator`, and bit-string operations: ``<<``,
77-
``>>``, ``&``, ``^``, ``|``, ``~``.
74+
Subtypes :class:`Rational` and adds a conversion to :class:`int`. Provides
75+
defaults for :func:`float`, :attr:`~Rational.numerator`, and
76+
:attr:`~Rational.denominator`. Adds abstract methods for ``**`` and
77+
bit-string operations: ``<<``, ``>>``, ``&``, ``^``, ``|``, ``~``.
7878

7979

8080
Notes for type implementors

0 commit comments

Comments
 (0)