diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2018-07-06 17:56:13 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-07-06 08:56:13 -0400 |
| commit | 82b9708c6f77d1a4b7b4236234065799370be245 (patch) | |
| tree | 9e4c8e4d5ec10d6a8248cd78e5aff85b870447de /docs | |
| parent | 39e287d8bff50e9f91f3f4471088c1946aa6a76c (diff) | |
Corrected cached_property() signature in docs.
Diffstat (limited to 'docs')
| -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 d3303065cc..5f971e3322 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 |
