[Python-checkins] gh-95778: remove unneeded doc note on float.as_integer_ratio (GH-96553)
miss-islington
webhook-mailer at python.org
Sun Sep 4 03:12:39 EDT 2022
https://github.com/python/cpython/commit/3a56a938f375f17f39baeb4b1529793dd0eb79b8
commit: 3a56a938f375f17f39baeb4b1529793dd0eb79b8
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-09-04T00:12:34-07:00
summary:
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 <greg at krypto.org>
files:
M Doc/library/stdtypes.rst
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index bc365bbf591..c82a6ad2d04 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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
More information about the Python-checkins
mailing list