summaryrefslogtreecommitdiff
path: root/numpy/lib/nanfunctions.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/lib/nanfunctions.pyi
parent99ed44df750fedfc0bbf956c88d15befd5e760cd (diff)
downloadnumpy-7b5f39b5eeac583f822741eaf95a8229f2b5f8d7.tar.gz
STY: Use subscriptable `builtins` types over the generic aliases in `typing`
Diffstat (limited to 'numpy/lib/nanfunctions.pyi')
-rw-r--r--numpy/lib/nanfunctions.pyi4
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/lib/nanfunctions.pyi b/numpy/lib/nanfunctions.pyi
index 54b4a7e26..8642055fe 100644
--- a/numpy/lib/nanfunctions.pyi
+++ b/numpy/lib/nanfunctions.pyi
@@ -1,5 +1,3 @@
-from typing import List
-
from numpy.core.fromnumeric import (
amin,
amax,
@@ -20,7 +18,7 @@ from numpy.lib.function_base import (
quantile,
)
-__all__: List[str]
+__all__: list[str]
# NOTE: In reaility these functions are not aliases but distinct functions
# with identical signatures.