[3.14] gh-136169: Update parameter name in fractions.from_float method (GH-136172) (#136174)

gh-136169: Update parameter name in fractions.from_float method (GH-136172)

Update parameter name in fractions.from_float method
(cherry picked from commit 9c0cb5beb8)

Co-authored-by: Vladyslav Lazoryk <80263725+lazorikv@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-07-01 15:31:16 +02:00 committed by GitHub
parent 665a682a90
commit df4e87b153
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -142,7 +142,7 @@ another rational number, or from a string.
.. versionadded:: 3.12
.. classmethod:: from_float(flt)
.. classmethod:: from_float(f)
Alternative constructor which only accepts instances of
:class:`float` or :class:`numbers.Integral`. Beware that