8000 Improve return type of check_getitem · matplotlib/matplotlib@144b9d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 144b9d6

Browse files
committed
Improve return type of check_getitem
1 parent 8547239 commit 144b9d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/_api/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def check_in_list(
4343
) -> None: ...
4444
def check_shape(shape: tuple[int | None, ...], /, **kwargs: NDArray) -> None: ...
4545
def check_getitem(
46-
mapping: Mapping[Any, Any], /, _suggest_close_matches: bool, _error_cls: Type[Exception], **kwargs: Any
47-
) -> Any: ...
46+
mapping: Mapping[Any, _T], /, _suggest_close_matches: bool, _error_cls: Type[Exception], **kwargs: Any
47+
) -> _T: ...
4848
def caching_module_getattr(cls: type) -> Callable[[str], Any]: ...
4949
@overload
5050
def define_aliases(

0 commit comments

Comments
 (0)
0