summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHakan Çelik <hakancelik96@outlook.com>2020-03-01 21:01:34 (GMT)
committerGitHub <noreply@github.com>2020-03-01 21:01:34 (GMT)
commit217dce9ee6e3cf27a0cedbe1e4a6455776373ec2 (patch)
tree1f64d563a073f297910ffb1797ab9666535ff7ed
parent0e89076247580ba0e570c4816f0e5628a7e36e83 (diff)
downloadcpython-217dce9ee6e3cf27a0cedbe1e4a6455776373ec2.zip
cpython-217dce9ee6e3cf27a0cedbe1e4a6455776373ec2.tar.gz
cpython-217dce9ee6e3cf27a0cedbe1e4a6455776373ec2.tar.bz2
bpo-39815: add cached_property to all (GH-18726)
Automerge-Triggered-By: @pablogsal
-rw-r--r--Lib/functools.py3
-rw-r--r--Misc/ACKS1
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py
index 050bec8..535fa04 100644
--- a/Lib/functools.py
+++ b/Lib/functools.py
@@ -12,7 +12,8 @@
__all__ = ['update_wrapper', 'wraps', 'WRAPPER_ASSIGNMENTS', 'WRAPPER_UPDATES',
'total_ordering', 'cmp_to_key', 'lru_cache', 'reduce',
'TopologicalSorter', 'CycleError',
- 'partial', 'partialmethod', 'singledispatch', 'singledispatchmethod']
+ 'partial', 'partialmethod', 'singledispatch', 'singledispatchmethod',
+ "cached_property"]
from abc import get_cache_token
from collections import namedtuple
diff --git a/Misc/ACKS b/Misc/ACKS
index b36e2de..5ec93a4 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -369,6 +369,7 @@ Raúl Cumplido
Antonio Cuni
Brian Curtin
Jason Curtis
+Hakan Celik
Paul Dagnelie
Lisandro Dalcin
Darren Dale