summaryrefslogtreecommitdiffstats
path: root/Lib/contextlib.py
diff options
context:
space:
mode:
authorTom Gringauz <tomgrin10@gmail.com>2020-11-17 23:18:05 (GMT)
committerGitHub <noreply@github.com>2020-11-17 23:18:05 (GMT)
commitd0d4a450679bfc90eae7be4fdb5499e87f661b3e (patch)
treeb864b9a8fb0e431ecb4d84bc5a5103027608208d /Lib/contextlib.py
parent9c98e8cc3ebf56d01183c67adbc000ed19b8e0f4 (diff)
downloadcpython-d0d4a450679bfc90eae7be4fdb5499e87f661b3e.zip
cpython-d0d4a450679bfc90eae7be4fdb5499e87f661b3e.tar.gz
cpython-d0d4a450679bfc90eae7be4fdb5499e87f661b3e.tar.bz2
bpo-42395: Add aclosing to __all__ (GH-23356)
Automerge-Triggered-By: GH:asvetlov
Diffstat (limited to 'Lib/contextlib.py')
-rw-r--r--Lib/contextlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py
index a0b523c..eb59461 100644
--- a/Lib/contextlib.py
+++ b/Lib/contextlib.py
@@ -9,7 +9,7 @@ from types import MethodType, GenericAlias
__all__ = ["asynccontextmanager", "contextmanager", "closing", "nullcontext",
"AbstractContextManager", "AbstractAsyncContextManager",
"AsyncExitStack", "ContextDecorator", "ExitStack",
- "redirect_stdout", "redirect_stderr", "suppress"]
+ "redirect_stdout", "redirect_stderr", "suppress", "aclosing"]
class AbstractContextManager(abc.ABC):