From 99ed44df750fedfc0bbf956c88d15befd5e760cd Mon Sep 17 00:00:00 2001 From: Bas van Beek <43369155+BvB93@users.noreply.github.com> Date: Tue, 21 Dec 2021 17:23:24 +0100 Subject: STY: Replace `Union` with the `|` operator --- numpy/core/arrayprint.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/arrayprint.pyi') 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 -- cgit v1.2.1