mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user