diff --git a/stdlib/inspect.pyi b/stdlib/inspect.pyi index 55ae61617af7..c48d63bc4f32 100644 --- a/stdlib/inspect.pyi +++ b/stdlib/inspect.pyi @@ -547,6 +547,7 @@ def formatargvalues( formatvalue: Callable[[Any], str] | None = ..., ) -> str: ... def getmro(cls: type) -> tuple[type, ...]: ... +@deprecated("Deprecated since Python 3.5. Use `Signature.bind` and `Signature.bind_partial` instead.") def getcallargs(func: Callable[_P, Any], /, *args: _P.args, **kwds: _P.kwargs) -> dict[str, Any]: ... class ClosureVars(NamedTuple):