mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
[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:
parent
665a682a90
commit
df4e87b153
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue