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,37 +1,10 @@
import sys
if sys.version_info < (3, 8):
import os
DEV_NULL = os.devnull
from typing import NamedTuple
if sys.version_info >= (3, 8):
def libc_ver(executable: str | None = None, lib: str = "", version: str = "", chunksize: int = 16384) -> tuple[str, str]: ...
else:
def libc_ver(
executable: str = sys.executable, lib: str = "", version: str = "", chunksize: int = 16384
) -> tuple[str, str]: ...
if sys.version_info < (3, 8):
def linux_distribution(
distname: str = "",
version: str = "",
id: str = "",
supported_dists: tuple[str, ...] = ...,
full_distribution_name: bool = ...,
) -> tuple[str, str, str]: ...
def dist(
distname: str = "", version: str = "", id: str = "", supported_dists: tuple[str, ...] = ...
) -> tuple[str, str, str]: ...
def libc_ver(executable: str | None = None, lib: str = "", version: str = "", chunksize: int = 16384) -> tuple[str, str]: ...
def win32_ver(release: str = "", version: str = "", csd: str = "", ptype: str = "") -> tuple[str, str, str, str]: ...
if sys.version_info >= (3, 8):
def win32_edition() -> str: ...
def win32_is_iot() -> bool: ...
def win32_edition() -> str: ...
def win32_is_iot() -> bool: ...
def mac_ver(
release: str = "", versioninfo: tuple[str, str, str] = ("", "", ""), machine: str = ""
) -> tuple[str, tuple[str, str, str], str]: ...