Skip to content

Commit 9c0cb5b

Browse files
authored
gh-136169: Update parameter name in fractions.from_float method (#136172)
Update parameter name in fractions.from_float method
1 parent 28940e8 commit 9c0cb5b

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)