Remove Python 3.7 branches (#11238)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2024-01-05 11:39:39 +01:00
1 parent 4e62577002
commit 23604858a6
122 files changed
+1952 -3800

No files matched your search

+7 -12
View File
@@ -4,15 +4,10 @@ from _typeshed import StrOrBytesPath
from asyncio import events, protocols, streams, transports
from collections.abc import Callable, Collection
from typing import IO, Any
from typing_extensions import Literal, TypeAlias
from typing_extensions import Literal
__all__ = ("create_subprocess_exec", "create_subprocess_shell")
if sys.version_info >= (3, 8):
_ExecArg: TypeAlias = StrOrBytesPath
else:
_ExecArg: TypeAlias = str | bytes
PIPE: int
STDOUT: int
DEVNULL: int
@@ -74,8 +69,8 @@ if sys.version_info >= (3, 11):
pipesize: int = -1,
) -> Process: ...
async def create_subprocess_exec(
program: _ExecArg,
*args: _ExecArg,
program: StrOrBytesPath,
*args: StrOrBytesPath,
stdin: int | IO[Any] | None = None,
stdout: int | IO[Any] | None = None,
stderr: int | IO[Any] | None = None,
@@ -139,8 +134,8 @@ elif sys.version_info >= (3, 10):
pipesize: int = -1,
) -> Process: ...
async def create_subprocess_exec(
program: _ExecArg,
*args: _ExecArg,
program: StrOrBytesPath,
*args: StrOrBytesPath,
stdin: int | IO[Any] | None = None,
stdout: int | IO[Any] | None = None,
stderr: int | IO[Any] | None = None,
@@ -203,8 +198,8 @@ else: # >= 3.9
umask: int = -1,
) -> Process: ...
async def create_subprocess_exec(
program: _ExecArg,
*args: _ExecArg,
program: StrOrBytesPath,
*args: StrOrBytesPath,
stdin: int | IO[Any] | None = None,
stdout: int | IO[Any] | None = None,
stderr: int | IO[Any] | None = None,