Skip to content

Commit 0c439de

Browse files
[3.13] gh-136169: Update parameter name in fractions.from_float method (GH-136172) (#136175)
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 e3a277c commit 0c439de

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
@@ -133,7 +133,7 @@ another rational number, or from a string.
133133

134134
.. versionadded:: 3.12
135135

136-
.. classmethod:: from_float(flt)
136+
.. classmethod:: from_float(f)
137137

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

0 commit comments

Comments
 (0)