Skip to content

Commit c346da8

Browse files
MAINT: Apply ruff/pyupgrade rule UP006
UP006 Use `tuple` instead of `Tuple` for type annotation
1 parent eb6ac83 commit c346da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/lib/_array_utils_impl.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, Iterable, Tuple
1+
from typing import Any, Iterable
22

33
from numpy import generic
44
from numpy.typing import NDArray
@@ -16,7 +16,7 @@ def normalize_axis_tuple(
1616
ndim: int = ...,
1717
argname: None | str = ...,
1818
allow_duplicate: None | bool = ...,
19-
) -> Tuple[int, int]: ...
19+
) -> tuple[int, int]: ...
2020

2121
def normalize_axis_index(
2222
axis: int = ...,

0 commit comments

Comments
 (0)