Skip to content

Commit ced9dd4

Browse files
committed
Remove deprecated import
1 parent e3152e2 commit ced9dd4

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
@@ -1,5 +1,5 @@
11
from collections.abc import Callable, Generator, Iterable, Mapping, Sequence
2-
from typing import Any, Type, TypeVar, overload
2+
from typing import Any, TypeVar, overload
33
from typing_extensions import Self # < Py 3.11
44

55
from numpy.typing import NDArray
@@ -43,7 +43,7 @@ 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, _T], /, _error_cls: Type[Exception], **kwargs: Any
46+
mapping: Mapping[Any, _T], /, _error_cls: type[Exception], **kwargs: Any
4747
) -> _T: ...
4848
def caching_module_getattr(cls: type) -> Callable[[str], Any]: ...
4949
@overload

0 commit comments

Comments
 (0)