From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 4 Sep 2022 07:12:00 +0000 (-0700) Subject: gh-95778: remove unneeded doc note on float.as_integer_ratio (GH-96553) X-Git-Tag: v3.11.0rc2~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4587154cb9fbf7badabc8f89e95411ea002c0e34;p=thirdparty%2FPython%2Fcpython.git 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 69bb83c2bf254f92491d527ccec1ff41897add56) Co-authored-by: Gregory P. Smith --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index e7459d7cd214..af41dbb1f130 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 - `. - .. method:: float.is_integer() Return ``True`` if the float instance is finite with integral