mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
distutils: improve boolean parameters with int defaults (#11928)
This commit is contained in:
@@ -10,17 +10,21 @@ def check_environ() -> None: ...
|
||||
def subst_vars(s: str, local_vars: Mapping[str, str]) -> None: ...
|
||||
def split_quoted(s: str) -> list[str]: ...
|
||||
def execute(
|
||||
func: Callable[..., object], args: tuple[Any, ...], msg: str | None = None, verbose: bool = ..., dry_run: bool = ...
|
||||
func: Callable[..., object],
|
||||
args: tuple[Any, ...],
|
||||
msg: str | None = None,
|
||||
verbose: bool | Literal[0, 1] = 0,
|
||||
dry_run: bool | Literal[0, 1] = 0,
|
||||
) -> None: ...
|
||||
def strtobool(val: str) -> Literal[0, 1]: ...
|
||||
def byte_compile(
|
||||
py_files: list[str],
|
||||
optimize: int = 0,
|
||||
force: bool = ...,
|
||||
force: bool | Literal[0, 1] = 0,
|
||||
prefix: str | None = None,
|
||||
base_dir: str | None = None,
|
||||
verbose: bool = ...,
|
||||
dry_run: bool = ...,
|
||||
verbose: bool | Literal[0, 1] = 1,
|
||||
dry_run: bool | Literal[0, 1] = 0,
|
||||
direct: bool | None = None,
|
||||
) -> None: ...
|
||||
def rfc822_escape(header: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user