From a9f80c64b99261e26b62b0f740bb419d81f3a0b8 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 02:45:52 +0000 Subject: [PATCH] Add `asyncio.subprocess.__all__` (#7276) --- stdlib/asyncio/subprocess.pyi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stdlib/asyncio/subprocess.pyi b/stdlib/asyncio/subprocess.pyi index d835c12af..f2725a899 100644 --- a/stdlib/asyncio/subprocess.pyi +++ b/stdlib/asyncio/subprocess.pyi @@ -5,6 +5,11 @@ from asyncio import events, protocols, streams, transports from typing import IO, Any, Callable, Union from typing_extensions import Literal +if sys.version_info >= (3, 7): + __all__ = ("create_subprocess_exec", "create_subprocess_shell") +else: + __all__ = ["create_subprocess_exec", "create_subprocess_shell"] + if sys.version_info >= (3, 8): _ExecArg = StrOrBytesPath else: