Add asyncio.subprocess.__all__ (#7276)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-18 18:45:52 -08:00
1 parent 1f2c21d9e9
commit a9f80c64b9
1 file changed
+5
+5
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: