setuptools & distutils: more accurate spawn method (#13036)

This commit is contained in:
Avasam
2024-11-19 06:50:38 -05:00
committed by GitHub
parent 6db3e0cec5
commit 4addb8dd0b
7 changed files with 18 additions and 7 deletions

View File

@@ -165,7 +165,7 @@ class CCompiler:
def execute(
self, func: Callable[[Unpack[_Ts]], Unused], args: tuple[Unpack[_Ts]], msg: str | None = None, level: int = 1
) -> None: ...
def spawn(self, cmd: list[str]) -> None: ...
def spawn(self, cmd: Iterable[str]) -> None: ...
def mkpath(self, name: str, mode: int = 0o777) -> None: ...
@overload
def move_file(self, src: StrPath, dst: _StrPathT) -> _StrPathT | str: ...