Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion stdlib/sysconfig.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down