https://github.com/python/cpython/commit/9c0cb5beb893284c5d49f947bbd81dfe081a5d71
commit: 9c0cb5beb893284c5d49f947bbd81dfe081a5d71
branch: main
author: Vladyslav Lazoryk <[email protected]>
committer: sobolevn <[email protected]>
date: 2025-07-01T16:23:48+03:00
summary:

gh-136169: Update parameter name in fractions.from_float method (#136172)

Update parameter name in fractions.from_float method

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 -- [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