mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
ssl, sysconfig: fix issues with defaults (#9507)
- ssl._create_unverified_context allows None since 3.10:2875c603b2 (diff-f6439be9c66350dde4c35dbeea0352c96cc970ba12b0478f6ae36f10725bd8c5)- sysconfig.is_python_build ignores its argument since 3.11:067597522a(was backported into 3.11)
This commit is contained in:
@@ -32,7 +32,13 @@ def get_path(name: str, scheme: str = ..., vars: dict[str, Any] | None = ..., ex
|
||||
def get_paths(scheme: str = ..., vars: dict[str, Any] | None = ..., expand: bool = ...) -> dict[str, str]: ...
|
||||
def get_python_version() -> str: ...
|
||||
def get_platform() -> str: ...
|
||||
def is_python_build(check_home: bool = ...) -> bool: ...
|
||||
|
||||
if sys.version_info >= (3, 11):
|
||||
def is_python_build(check_home: object = None) -> bool: ...
|
||||
|
||||
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 get_config_h_filename() -> str: ...
|
||||
def get_makefile_filename() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user