mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
gh-95778: remove unneeded doc note on float.as_integer_ratio (GH-96553)
Per mdickinson@'s comment on the main branch PR.
(cherry picked from commit 69bb83c2bf
)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
This commit is contained in:
parent
c0af099816
commit
4587154cb9
1 changed files with 0 additions and 7 deletions
|
@ -622,13 +622,6 @@ class`. float also has the following additional methods.
|
||||||
:exc:`OverflowError` on infinities and a :exc:`ValueError` on
|
:exc:`OverflowError` on infinities and a :exc:`ValueError` on
|
||||||
NaNs.
|
NaNs.
|
||||||
|
|
||||||
.. note::
|
|
||||||
|
|
||||||
The values returned by ``as_integer_ratio()`` can be huge. Attempts
|
|
||||||
to render such integers into decimal strings may bump into the
|
|
||||||
:ref:`integer string conversion length limitation
|
|
||||||
<int_max_str_digits>`.
|
|
||||||
|
|
||||||
.. method:: float.is_integer()
|
.. method:: float.is_integer()
|
||||||
|
|
||||||
Return ``True`` if the float instance is finite with integral
|
Return ``True`` if the float instance is finite with integral
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue