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

index 5dc09d0472d4ec06475a26692c9ab6c8627d83b7..bcd9b4bbc86b471ddcf3ca6a701321f35ebb821a 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.