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

Update parameter name in fractions.from_float method
This commit is contained in:
Vladyslav Lazoryk 2025-07-01 16:23:48 +03:00 committed by GitHub
parent 28940e8e48
commit 9c0cb5beb8
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