From 7babe31443d40f42a0b562a1712bc378aade5f5c 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 (#140278) --- 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 f8ffb3f41d12..37d9f87e7791 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. -- 2.47.3