Remove Python 3.7 branches (#11238)

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

View File

@@ -1,18 +1,11 @@
import sys
from collections.abc import Iterable
from typing import TextIO
from typing_extensions import Self
if sys.version_info >= (3, 8):
__all__ = ["shlex", "split", "quote", "join"]
else:
__all__ = ["shlex", "split", "quote"]
__all__ = ["shlex", "split", "quote", "join"]
def split(s: str, comments: bool = False, posix: bool = True) -> list[str]: ...
if sys.version_info >= (3, 8):
def join(split_command: Iterable[str]) -> str: ...
def join(split_command: Iterable[str]) -> str: ...
def quote(s: str) -> str: ...
class shlex(Iterable[str]):