Add asyncio.subprocess.__all__ (#7276)

This commit is contained in:
Alex Waygood
2022-02-19 02:45:52 +00:00
committed by GitHub
parent 1f2c21d9e9
commit a9f80c64b9

View File

@@ -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: