[Python-checkins] bpo-42395: Add aclosing to __all__ (GH-23356)

miss-islington webhook-mailer at python.org
Tue Nov 17 18:18:13 EST 2020


https://github.com/python/cpython/commit/d0d4a450679bfc90eae7be4fdb5499e87f661b3e
commit: d0d4a450679bfc90eae7be4fdb5499e87f661b3e
branch: master
author: Tom Gringauz <tomgrin10 at gmail.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2020-11-17T15:18:05-08:00
summary:

bpo-42395: Add aclosing to __all__ (GH-23356)



Automerge-Triggered-By: GH:asvetlov

files:
M Lib/contextlib.py

diff --git a/Lib/contextlib.py b/Lib/contextlib.py
index a0b523c96fb28..eb5946145b47e 100644
--- a/Lib/contextlib.py
+++ b/Lib/contextlib.py
@@ -9,7 +9,7 @@
 __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):



More information about the Python-checkins mailing list