diff options
| author | Tim Graham <timograham@gmail.com> | 2019-03-30 09:35:00 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-03-30 09:35:00 -0400 |
| commit | b9455b010e41d1c6e68faa11115212d50de3c231 (patch) | |
| tree | e51c29464565e0c499e44ce2b9bf30cae70ad4eb /docs | |
| parent | c3c2ec54f59428cdf0a35abce594fd2ada35c209 (diff) | |
Refs #30278 -- Fixed link in cached_property docs.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/utils.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 8316c916cd..5f03dc66e4 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -473,8 +473,8 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004 # set a value manually, that will persist on the instance until cleared person.friends = ["Huckleberry Finn", "Tom Sawyer"] - Because of the way the `descriptor protocol - <descriptor-invocation>`_ works, using ``del`` (or ``delattr``) on a + Because of the way the :py:ref:`descriptor protocol + <descriptor-invocation>` works, using ``del`` (or ``delattr``) on a ``cached_property`` that hasn't been accessed raises ``AttributeError``. As well as offering potential performance advantages, ``@cached_property`` |
