mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-08 22:36:18 +08:00
[sysconfig] Add deprecation for check_home arg of sysconfig.is_python_build (#15181)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user