diff options
author | Jason Fried <fried@fb.com> | 2021-09-23 21:36:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 21:36:03 (GMT) |
commit | 86b833badd3d6864868404ead2f8c7994d24f85c (patch) | |
tree | 0610a6e8c1b1ca5e527181d58d29227b749ab484 /Misc/NEWS.d/next | |
parent | af90b5498b8c6acd67b50fdad007d26dfd1c5823 (diff) | |
download | cpython-86b833badd3d6864868404ead2f8c7994d24f85c.zip cpython-86b833badd3d6864868404ead2f8c7994d24f85c.tar.gz cpython-86b833badd3d6864868404ead2f8c7994d24f85c.tar.bz2 |
bpo-38415: Allow using @asynccontextmanager-made ctx managers as decorators (GH-16667)
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2019-10-08-14-08-59.bpo-38415.N1bUw6.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-10-08-14-08-59.bpo-38415.N1bUw6.rst b/Misc/NEWS.d/next/Library/2019-10-08-14-08-59.bpo-38415.N1bUw6.rst new file mode 100644 index 0000000..f99bf0d --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-10-08-14-08-59.bpo-38415.N1bUw6.rst @@ -0,0 +1,3 @@ +Added missing behavior to :func:`contextlib.asynccontextmanager` to match +:func:`contextlib.contextmanager` so decorated functions can themselves be +decorators. |