https://github.com/python/cpython/commit/0c439de010b571841bca29ddd04e1828bffb54f2
commit: 0c439de010b571841bca29ddd04e1828bffb54f2
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: sobolevn <[email protected]>
date: 2025-07-01T13:30:49Z
summary:

[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 9c0cb5beb893284c5d49f947bbd81dfe081a5d71)

Co-authored-by: Vladyslav Lazoryk <[email protected]>

files:
M Doc/library/fractions.rst

diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst
index 7e615ed230a340..1877e72d009e8c 100644
--- a/Doc/library/fractions.rst
+++ b/Doc/library/fractions.rst
@@ -133,7 +133,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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to