diff options
| author | Tim Graham <timograham@gmail.com> | 2019-02-12 15:12:14 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-02-12 18:35:03 -0500 |
| commit | c3655b152868176359206a7a759ac38ea5e9c047 (patch) | |
| tree | 85718ed12618b483fd7cf09463ce33f27ff55909 /docs | |
| parent | 28a6046b5479bd230ffda1d8a6deee9b3384bb18 (diff) | |
[2.2.x] Refs #29478 -- Clarified cached_property 2.2 release note.
Backport of 3b64e2b77570c73a0d7092124fa73439e0fb4305 from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.2.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 37056866e1..1fe5af93fe 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -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:: |
