summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorCooper Lees <me@cooperlees.com>2022-02-14 18:49:28 (GMT)
committerGitHub <noreply@github.com>2022-02-14 18:49:28 (GMT)
commitff5a16759744ee0a43c5d1c209f47e256abc7718 (patch)
tree9539e6ca3d7750777ad40f631871fdac814a31f0 /Doc/faq
parent0d29e7a06f98e8312b699d4531d27b76add1249f (diff)
downloadcpython-ff5a16759744ee0a43c5d1c209f47e256abc7718.zip
cpython-ff5a16759744ee0a43c5d1c209f47e256abc7718.tar.gz
cpython-ff5a16759744ee0a43c5d1c209f47e256abc7718.tar.bz2
Fix a typo in Doc/faq/programming.rst (GH-31243)
is not longer used -> is no longer used
Diffstat (limited to 'Doc/faq')
-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 c156390..a1adf85 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -1908,7 +1908,7 @@ The *cached_property* approach only works with methods that do not take
any arguments. It does not create a reference to the instance. The
cached method result will be kept only as long as the instance is alive.
-The advantage is that when an instance is not longer used, the cached
+The advantage is that when an instance is no longer used, the cached
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.