summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.pyi
diff options
context:
space:
mode:
authorBas van Beek <43369155+BvB93@users.noreply.github.com>2021-12-21 17:23:24 +0100
committerBas van Beek <43369155+BvB93@users.noreply.github.com>2021-12-22 00:08:15 +0100
commit99ed44df750fedfc0bbf956c88d15befd5e760cd (patch)
tree78820b19ae6c0fe62065f87c567066fa112a4aaf /numpy/core/arrayprint.pyi
parent08053b2600f4b93575d8057238861219a1a57edc (diff)
downloadnumpy-99ed44df750fedfc0bbf956c88d15befd5e760cd.tar.gz
STY: Replace `Union` with the `|` operator
Diffstat (limited to 'numpy/core/arrayprint.pyi')
-rw-r--r--numpy/core/arrayprint.pyi2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/arrayprint.pyi b/numpy/core/arrayprint.pyi
index b18a554d6..5c33a21d3 100644
--- a/numpy/core/arrayprint.pyi
+++ b/numpy/core/arrayprint.pyi
@@ -1,5 +1,5 @@
from types import TracebackType
-from typing import Any, Callable, Union, Type, Literal, TypedDict, SupportsIndex
+from typing import Any, Callable, Type, 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