Skip to content

Commit 83a515b

Browse files
committed
Remove redundant Union.
Not used to the `x|y` syntax
1 parent ff6f1b4 commit 83a515b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/jsonschema/jsonschema/exceptions.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from _typeshed import Self, SupportsRichComparison
22
from collections import deque
33
from collections.abc import Callable, Container, Iterable, Sequence
4-
from typing import Any, Union
4+
from typing import Any
55

66
from jsonschema import _utils, protocols
77

@@ -39,7 +39,7 @@ class _Error(Exception):
3939
@classmethod
4040
def create_from(cls: type[Self], other: _Error) -> Self: ...
4141
@property
42-
def absolute_path(self) -> Sequence[Union[str | int]]: ...
42+
def absolute_path(self) -> Sequence[str | int]: ...
4343
@property
4444
def absolute_schema_path(self) -> Sequence[str]: ...
4545
@property

0 commit comments

Comments
 (0)