Skip to content

Commit

Permalink
pythongh-95778: remove unneeded doc note on float.as_integer_ratio (p…
Browse files Browse the repository at this point in the history
…ythonGH-96553)

Per mdickinson@'s comment on the main branch PR.
(cherry picked from commit 69bb83c)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
  • Loading branch information
gpshead authored and miss-islington committed Sep 4, 2022
1 parent c0af099 commit e033cfd
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 e033cfd

Please sign in to comment.