https://github.com/python/cpython/commit/5f25707ad830a7e79afb9711d273c97f318c8922
commit: 5f25707ad830a7e79afb9711d273c97f318c8922
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-03-07T17:14:45Z
summary:

[3.14] Remove typo in ``functools.lru_cache`` docs (GH-140278) (#145628)

Co-authored-by: Brandon Hubacher <[email protected]>

files:
M Doc/library/functools.rst

diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index c07f637265c3b6..4babc246ea9d14 100644
--- a/Doc/library/functools.rst
+++ b/Doc/library/functools.rst
@@ -190,7 +190,7 @@ The :mod:`!functools` module defines the following 
functions:
 
    Note, type specificity applies only to the function's immediate arguments
    rather than their contents.  The scalar arguments, ``Decimal(42)`` and
-   ``Fraction(42)`` are be treated as distinct calls with distinct results.
+   ``Fraction(42)`` are treated as distinct calls with distinct results.
    In contrast, the tuple arguments ``('answer', Decimal(42))`` and
    ``('answer', Fraction(42))`` are treated as equivalent.
 

_______________________________________________
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