diff --git a/stdlib/typing.pyi b/stdlib/typing.pyi index 5521055bdef3..3791a95f14ad 100644 --- a/stdlib/typing.pyi +++ b/stdlib/typing.pyi @@ -792,11 +792,11 @@ class MutableMapping(Mapping[_KT, _VT]): def __delitem__(self, key: _KT, /) -> None: ... def clear(self) -> None: ... @overload - def pop(self, key: _KT, /) -> _VT: ... + def pop(self, key: object, /) -> _VT: ... @overload - def pop(self, key: _KT, default: _VT, /) -> _VT: ... + def pop(self, key: object, default: _VT, /) -> _VT: ... @overload - def pop(self, key: _KT, default: _T, /) -> _VT | _T: ... + def pop(self, key: object, default: _T, /) -> _VT | _T: ... def popitem(self) -> tuple[_KT, _VT]: ... # This overload should be allowed only if the value type is compatible with None. #