From fc708f32f50b2c5ef35ffc0fccae362ded5f93f1 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 30 Mar 2019 09:35:00 -0400 Subject: [PATCH] [2.2.x] Refs #30278 -- Fixed link in cached_property docs. Backport of b9455b010e41d1c6e68faa11115212d50de3c231 from master. --- docs/ref/utils.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 919c6d60e8..b4f96b8d2f 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -485,8 +485,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 - `_ works, using ``del`` (or ``delattr``) on a + Because of the way the :py:ref:`descriptor protocol + ` 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``