mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
Update numbers doc for the Integral simplification.
This commit is contained in:
parent
caea65e465
commit
363070aa46
1 changed files with 4 additions and 4 deletions
|
|
@ -73,10 +73,10 @@ The numeric tower
|
||||||
|
|
||||||
.. class:: Integral
|
.. class:: Integral
|
||||||
|
|
||||||
Subtypes :class:`Rational` and adds a conversion to :class:`long`, the
|
Subtypes :class:`Rational` and adds a conversion to :class:`int`.
|
||||||
3-argument form of :func:`pow`, and the bit-string operations: ``<<``,
|
Provides defaults for :func:`float`, :attr:`Rational.numerator`, and
|
||||||
``>>``, ``&``, ``^``, ``|``, ``~``. Provides defaults for :func:`float`,
|
:attr:`Rational.denominator`, and bit-string operations: ``<<``,
|
||||||
:attr:`Rational.numerator`, and :attr:`Rational.denominator`.
|
``>>``, ``&``, ``^``, ``|``, ``~``.
|
||||||
|
|
||||||
|
|
||||||
Notes for type implementors
|
Notes for type implementors
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue