https://github.com/python/cpython/commit/7babe31443d40f42a0b562a1712bc378aade5f5c
commit: 7babe31443d40f42a0b562a1712bc378aade5f5c
branch: main
author: Brandon Hubacher <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2025-10-20T14:25:01+05:30
summary:
Remove typo in ``functools.lru_cache`` docs (#140278)
files:
M Doc/library/functools.rst
diff --git a/Doc/library/functools.rst b/Doc/library/functools.rst
index f8ffb3f41d1210..37d9f87e7791dc 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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]