From: Brandon Hubacher Date: Mon, 20 Oct 2025 08:55:01 +0000 (-0500) Subject: Remove typo in ``functools.lru_cache`` docs (#140278) X-Git-Tag: v3.15.0a2~387 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7babe31443d40f42a0b562a1712bc378aade5f5c;p=thirdparty%2FPython%2Fcpython.git Remove typo in ``functools.lru_cache`` docs (#140278) --- 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.