diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-05-26 18:27:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-26 18:27:35 (GMT) |
commit | b821868e6d909f4805499db519ebc2cdc01cf611 (patch) | |
tree | ae3da900a9fa80bc5098dd4eb3150ebe6e25ac2e /Misc/NEWS.d | |
parent | aaf47caf35984e614d93bd8bea5227df55e0e3e6 (diff) | |
download | cpython-b821868e6d909f4805499db519ebc2cdc01cf611.zip cpython-b821868e6d909f4805499db519ebc2cdc01cf611.tar.gz cpython-b821868e6d909f4805499db519ebc2cdc01cf611.tar.bz2 |
bpo-36772 Allow lru_cache to be used as decorator without making a function call (GH-13048)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-05-01-20-41-53.bpo-36772.fV2K0F.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-01-20-41-53.bpo-36772.fV2K0F.rst b/Misc/NEWS.d/next/Library/2019-05-01-20-41-53.bpo-36772.fV2K0F.rst new file mode 100644 index 0000000..00b8a68 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-05-01-20-41-53.bpo-36772.fV2K0F.rst @@ -0,0 +1,2 @@ +functools.lru_cache() can now be used as a straight decorator in +addition to its existing usage as a function that returns a decorator. |