diff --git a/stdlib/sysconfig.pyi b/stdlib/sysconfig.pyi index c6419222df97..8de7ddc4255f 100644 --- a/stdlib/sysconfig.pyi +++ b/stdlib/sysconfig.pyi @@ -39,7 +39,14 @@ def get_paths(scheme: str = ..., vars: dict[str, Any] | None = None, expand: boo def get_python_version() -> str: ... def get_platform() -> str: ... -if sys.version_info >= (3, 11): +if sys.version_info >= (3, 12): + @overload + def is_python_build() -> bool: ... + @overload + @deprecated("The `check_home` parameter is deprecated since Python 3.12; removed in Python 3.15.") + def is_python_build(check_home: object = None) -> bool: ... + +elif sys.version_info >= (3, 11): def is_python_build(check_home: object = None) -> bool: ... else: