summaryrefslogtreecommitdiff
path: root/numpy/core/defchararray.pyi
diff options
context:
space:
mode:
authorBas van Beek <43369155+BvB93@users.noreply.github.com>2021-12-21 20:24:22 +0100
committerBas van Beek <43369155+BvB93@users.noreply.github.com>2021-12-23 21:15:00 +0100
commit7b5f39b5eeac583f822741eaf95a8229f2b5f8d7 (patch)
treea7a83a47f39d1e4e29becb5f835158e4b1c86e3a /numpy/core/defchararray.pyi
parent99ed44df750fedfc0bbf956c88d15befd5e760cd (diff)
downloadnumpy-7b5f39b5eeac583f822741eaf95a8229f2b5f8d7.tar.gz
STY: Use subscriptable `builtins` types over the generic aliases in `typing`
Diffstat (limited to 'numpy/core/defchararray.pyi')
-rw-r--r--numpy/core/defchararray.pyi3
1 files changed, 1 insertions, 2 deletions
diff --git a/numpy/core/defchararray.pyi b/numpy/core/defchararray.pyi
index 28d247b05..250706eb1 100644
--- a/numpy/core/defchararray.pyi
+++ b/numpy/core/defchararray.pyi
@@ -3,7 +3,6 @@ from typing import (
overload,
TypeVar,
Any,
- List,
)
from numpy import (
@@ -30,7 +29,7 @@ from numpy.core.multiarray import compare_chararrays as compare_chararrays
_SCT = TypeVar("_SCT", str_, bytes_)
_CharArray = chararray[Any, dtype[_SCT]]
-__all__: List[str]
+__all__: list[str]
# Comparison
@overload