summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.pyi
diff options
context:
space:
mode:
authorBas van Beek <43369155+BvB93@users.noreply.github.com>2021-12-21 23:41:09 +0100
committerBas van Beek <43369155+BvB93@users.noreply.github.com>2021-12-23 21:15:00 +0100
commitfe361df62b101a27fd2ea203fb0b79b6a5f61401 (patch)
treeb4b8c0387ea22d4d70e83f318dd306cd75a782a5 /numpy/core/arrayprint.pyi
parent7b5f39b5eeac583f822741eaf95a8229f2b5f8d7 (diff)
downloadnumpy-fe361df62b101a27fd2ea203fb0b79b6a5f61401.tar.gz
STY: Use subscriptable `collections.abc` types over the generic aliases in …
Diffstat (limited to 'numpy/core/arrayprint.pyi')
-rw-r--r--numpy/core/arrayprint.pyi3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/arrayprint.pyi b/numpy/core/arrayprint.pyi
index acbec84e4..996d4c782 100644
--- a/numpy/core/arrayprint.pyi
+++ b/numpy/core/arrayprint.pyi
@@ -1,5 +1,6 @@
from types import TracebackType
-from typing import Any, Callable, Literal, TypedDict, SupportsIndex
+from collections.abc import Callable
+from typing import Any, Literal, TypedDict, SupportsIndex
# Using a private class is by no means ideal, but it is simply a consequence
# of a `contextlib.context` returning an instance of aforementioned class