From 1de0c6bed290d8e5792290c710b99a78a18b1fb8 Mon Sep 17 00:00:00 2001 From: Brandon Hubacher Date: Mon, 20 Oct 2025 03:55:01 -0500 Subject: [PATCH] Remove typo in ``functools.lru_cache`` docs (GH-140278) (cherry picked from commit 7babe31443d40f42a0b562a1712bc378aade5f5c) Co-authored-by: Brandon Hubacher --- Doc/library/functools.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.