summaryrefslogtreecommitdiffstats
path: root/Doc/faq/programming.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-14 10:45:42 (GMT)
committerGitHub <noreply@github.com>2023-02-14 10:45:42 (GMT)
commit4aeae286715a3a9fa624429733582917606000c3 (patch)
tree5f9eb39a539ebc608e09cac967e44533b8d75bcd /Doc/faq/programming.rst
parentfd155b91392c5bd238781bb11e040cf46c94725c (diff)
downloadcpython-4aeae286715a3a9fa624429733582917606000c3.zip
cpython-4aeae286715a3a9fa624429733582917606000c3.tar.gz
cpython-4aeae286715a3a9fa624429733582917606000c3.tar.bz2
GH-101898: Fix missing term references for hashable definition (GH-101899)
Fix missing term references for hashable definition (cherry picked from commit 3690688149dca11589af59b7704541336613199a) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Diffstat (limited to 'Doc/faq/programming.rst')
-rw-r--r--Doc/faq/programming.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index ba42289..38f9b17 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -1979,7 +1979,7 @@ method result will be released right away. The disadvantage is that if
instances accumulate, so too will the accumulated method results. They
can grow without bound.
-The *lru_cache* approach works with methods that have hashable
+The *lru_cache* approach works with methods that have :term:`hashable`
arguments. It creates a reference to the instance unless special
efforts are made to pass in weak references.