[Python-checkins] Fix a typo in Doc/faq/programming.rst (GH-31243)
Mariatta
webhook-mailer at python.org
Mon Feb 14 13:49:36 EST 2022
https://github.com/python/cpython/commit/ff5a16759744ee0a43c5d1c209f47e256abc7718
commit: ff5a16759744ee0a43c5d1c209f47e256abc7718
branch: main
author: Cooper Lees <me at cooperlees.com>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2022-02-14T10:49:28-08:00
summary:
Fix a typo in Doc/faq/programming.rst (GH-31243)
is not longer used -> is no longer used
files:
M Doc/faq/programming.rst
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index c156390d375e1..a1adf851bdded 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.
More information about the Python-checkins
mailing list