mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
Fix a typo in Doc/faq/programming.rst (GH-31243)
is not longer used -> is no longer used
This commit is contained in:
parent
0d29e7a06f
commit
ff5a167597
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue