Skip to content

Commit df4e87b

Browse files
[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 9c0cb5b) Co-authored-by: Vladyslav Lazoryk <[email protected]>
1 parent 665a682 commit df4e87b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/fractions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ another rational number, or from a string.
142142

143143
.. versionadded:: 3.12
144144

145-
.. classmethod:: from_float(flt)
145+
.. classmethod:: from_float(f)
146146

147147
Alternative constructor which only accepts instances of
148148
:class:`float` or :class:`numbers.Integral`. Beware that

0 commit comments

Comments
 (0)