diff options
Diffstat (limited to 'docs/ref/utils.txt')
| -rw-r--r-- | docs/ref/utils.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index cde619e315..fd9a12f58d 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -426,7 +426,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 |
