]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove typo in ``functools.lru_cache`` docs (#140278)
authorBrandon Hubacher <brandon.hubacher@gmail.com>
Mon, 20 Oct 2025 08:55:01 +0000 (03:55 -0500)
committerGitHub <noreply@github.com>
Mon, 20 Oct 2025 08:55:01 +0000 (14:25 +0530)
Doc/library/functools.rst

index f8ffb3f41d1210e027bc1a434bdc708a20399cbc..37d9f87e7791dc72d88c8931f0a28c12d788d924 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.