mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Stdlib: add container default values (#9909)
This commit is contained in:
@@ -74,7 +74,7 @@ class config(Command):
|
||||
library_dirs: Sequence[str] | None = None,
|
||||
headers: Sequence[str] | None = None,
|
||||
include_dirs: Sequence[str] | None = None,
|
||||
other_libraries: list[str] = ...,
|
||||
other_libraries: list[str] = [],
|
||||
) -> bool: ...
|
||||
def check_header(
|
||||
self, header: str, include_dirs: Sequence[str] | None = None, library_dirs: Sequence[str] | None = None, lang: str = "c"
|
||||
|
||||
@@ -110,7 +110,7 @@ class Distribution:
|
||||
def reinitialize_command(self, command: str, reinit_subcommands: bool = False) -> Command: ...
|
||||
@overload
|
||||
def reinitialize_command(self, command: _CommandT, reinit_subcommands: bool = False) -> _CommandT: ...
|
||||
def announce(self, msg, level: int = ...) -> None: ...
|
||||
def announce(self, msg, level: int = 2) -> None: ...
|
||||
def run_commands(self) -> None: ...
|
||||
def run_command(self, command: str) -> None: ...
|
||||
def has_pure_modules(self) -> bool: ...
|
||||
|
||||
@@ -31,4 +31,4 @@ def wrap_text(text: str, width: int) -> list[str]: ...
|
||||
def translate_longopt(opt: str) -> str: ...
|
||||
|
||||
class OptionDummy:
|
||||
def __init__(self, options: Iterable[str] = ...) -> None: ...
|
||||
def __init__(self, options: Iterable[str] = []) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user