0
0
mirror of https://github.com/django/django.git synced 2024-11-30 15:10:46 +01:00

Refs #29478 -- Clarified cached_property 2.2 release note.

This commit is contained in:
Tim Graham 2019-02-12 15:12:14 -05:00
parent 15715bf2a2
commit 3b64e2b775

View File

@ -345,9 +345,9 @@ In usage like::
alias = base
``alias`` is not cached. Such usage now raises ``TypeError: Cannot assign the
same cached_property to two different names ('base' and 'alias').`` on Python
3.6 and later.
``alias`` is not cached. Where the problem can be detected (Python 3.6 and
later), such usage now raises ``TypeError: Cannot assign the same
cached_property to two different names ('base' and 'alias').``
Use this instead::