]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix a typo in Doc/faq/programming.rst (GH-31243)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 Feb 2022 19:08:39 +0000 (11:08 -0800)
committerGitHub <noreply@github.com>
Mon, 14 Feb 2022 19:08:39 +0000 (11:08 -0800)
is not longer used -> is no longer used
(cherry picked from commit ff5a16759744ee0a43c5d1c209f47e256abc7718)

Co-authored-by: Cooper Lees <me@cooperlees.com>
Doc/faq/programming.rst

index 154563a859e31bd591ee0522777f5c6c68df5a2a..a6831ff9d79b70dd1d4ecdf67c596c6305c70d1c 100644 (file)
@@ -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.