]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-95778: remove unneeded doc note on float.as_integer_ratio (GH-96553)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 4 Sep 2022 07:12:34 +0000 (00:12 -0700)
committerGitHub <noreply@github.com>
Sun, 4 Sep 2022 07:12:34 +0000 (00:12 -0700)
Per mdickinson@'s comment on the main branch PR.
(cherry picked from commit 69bb83c2bf254f92491d527ccec1ff41897add56)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/stdtypes.rst

index bc365bbf591609e77dd2d585f0e203a9e98d5cea..c82a6ad2d04e9033afa3688308495c06846d698d 100644 (file)
@@ -584,13 +584,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