https://github.com/python/cpython/commit/df4e87b153622b9fc5028de0050a8c5678894bc5
commit: df4e87b153622b9fc5028de0050a8c5678894bc5
branch: 3.14
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: sobolevn <m...@sobolevn.me>
date: 2025-07-01T13:31:16Z
summary:

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

Co-authored-by: Vladyslav Lazoryk <80263725+lazor...@users.noreply.github.com>

files:
M Doc/library/fractions.rst

diff --git a/Doc/library/fractions.rst b/Doc/library/fractions.rst
index fc7f9a6301a915..392b6d40e861fb 100644
--- a/Doc/library/fractions.rst
+++ b/Doc/library/fractions.rst
@@ -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

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to