From 82b9708c6f77d1a4b7b4236234065799370be245 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Fri, 6 Jul 2018 17:56:13 +0500 Subject: [PATCH] Corrected cached_property() signature in docs. --- docs/ref/utils.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index d3303065cc1..5f971e3322e 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -422,7 +422,7 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004 .. module:: django.utils.functional :synopsis: Functional programming tools. -.. class:: cached_property(object, name) +.. class:: cached_property(func, name=None) The ``@cached_property`` decorator caches the result of a method with a single ``self`` argument as a property. The cached result will persist