mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
gh-136169: Update parameter name in fractions.from_float method (#136172)
Update parameter name in fractions.from_float method
This commit is contained in:
parent
28940e8e48
commit
9c0cb5beb8
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