mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
stdlib: add argument default values (#9501)
This commit is contained in:
@@ -28,8 +28,8 @@ if sys.version_info >= (3, 10):
|
||||
def get_preferred_scheme(key: Literal["prefix", "home", "user"]) -> str: ...
|
||||
|
||||
def get_path_names() -> tuple[str, ...]: ...
|
||||
def get_path(name: str, scheme: str = ..., vars: dict[str, Any] | None = ..., expand: bool = ...) -> str: ...
|
||||
def get_paths(scheme: str = ..., vars: dict[str, Any] | None = ..., expand: bool = ...) -> dict[str, str]: ...
|
||||
def get_path(name: str, scheme: str = "venv", vars: dict[str, Any] | None = None, expand: bool = True) -> str: ...
|
||||
def get_paths(scheme: str = "venv", vars: dict[str, Any] | None = None, expand: bool = True) -> dict[str, str]: ...
|
||||
def get_python_version() -> str: ...
|
||||
def get_platform() -> str: ...
|
||||
|
||||
@@ -39,6 +39,6 @@ if sys.version_info >= (3, 11):
|
||||
else:
|
||||
def is_python_build(check_home: bool = False) -> bool: ...
|
||||
|
||||
def parse_config_h(fp: IO[Any], vars: dict[str, Any] | None = ...) -> dict[str, Any]: ...
|
||||
def parse_config_h(fp: IO[Any], vars: dict[str, Any] | None = None) -> dict[str, Any]: ...
|
||||
def get_config_h_filename() -> str: ...
|
||||
def get_makefile_filename() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user