]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Remove typo in ``functools.lru_cache`` docs (GH-140278) (#145628)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 7 Mar 2026 17:14:45 +0000 (18:14 +0100)
committerGitHub <noreply@github.com>
Sat, 7 Mar 2026 17:14:45 +0000 (17:14 +0000)
Co-authored-by: Brandon Hubacher <brandon.hubacher@gmail.com>
Doc/library/functools.rst

index c07f637265c3b6e6237df4f41a392771700a1c53..4babc246ea9d1433a56d24df663e26596562207e 100644 (file)
@@ -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.