diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-12-21 17:23:24 +0100 |
---|---|---|
committer | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-12-22 00:08:15 +0100 |
commit | 99ed44df750fedfc0bbf956c88d15befd5e760cd (patch) | |
tree | 78820b19ae6c0fe62065f87c567066fa112a4aaf /numpy/core/arrayprint.pyi | |
parent | 08053b2600f4b93575d8057238861219a1a57edc (diff) | |
download | numpy-99ed44df750fedfc0bbf956c88d15befd5e760cd.tar.gz |
STY: Replace `Union` with the `|` operator
Diffstat (limited to 'numpy/core/arrayprint.pyi')
-rw-r--r-- | numpy/core/arrayprint.pyi | 2 |
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 |