Skip to content

Commit

Permalink
gh-95778: remove unneeded doc note on float.as_integer_ratio (#96553)
Browse files Browse the repository at this point in the history
Per mdickinson@'s comment on the main branch PR.
  • Loading branch information
gpshead authored Sep 4, 2022
1 parent af6359d commit 69bb83c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -622,13 +622,6 @@ class`. float also has the following additional methods.
:exc:`OverflowError` on infinities and a :exc:`ValueError` on
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()

Return ``True`` if the float instance is finite with integral
Expand Down

0 comments on commit 69bb83c

Please sign in to comment.