mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Co-authored-by: Avasam <samuel.06@hotmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
21 lines
586 B
Python
21 lines
586 B
Python
from distutils.unixccompiler import UnixCCompiler
|
|
from distutils.version import LooseVersion
|
|
from re import Pattern
|
|
from typing import Final, Literal
|
|
|
|
def get_msvcr() -> list[str] | None: ...
|
|
|
|
class CygwinCCompiler(UnixCCompiler): ...
|
|
class Mingw32CCompiler(CygwinCCompiler): ...
|
|
|
|
CONFIG_H_OK: Final = "ok"
|
|
CONFIG_H_NOTOK: Final = "not ok"
|
|
CONFIG_H_UNCERTAIN: Final = "uncertain"
|
|
|
|
def check_config_h() -> tuple[Literal["ok", "not ok", "uncertain"], str]: ...
|
|
|
|
RE_VERSION: Final[Pattern[bytes]]
|
|
|
|
def get_versions() -> tuple[LooseVersion | None, ...]: ...
|
|
def is_cygwingcc() -> bool: ...
|