Skip to content

Commit

Permalink
Remove redundant Union.
Browse files Browse the repository at this point in the history
Not used to the `x|y` syntax
  • Loading branch information
DMRobertson committed May 29, 2022
1 parent ff6f1b4 commit 83a515b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stubs/jsonschema/jsonschema/exceptions.pyi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from _typeshed import Self, SupportsRichComparison
from collections import deque
from collections.abc import Callable, Container, Iterable, Sequence
from typing import Any, Union
from typing import Any

from jsonschema import _utils, protocols

Expand Down Expand Up @@ -39,7 +39,7 @@ class _Error(Exception):
@classmethod
def create_from(cls: type[Self], other: _Error) -> Self: ...
@property
def absolute_path(self) -> Sequence[Union[str | int]]: ...
def absolute_path(self) -> Sequence[str | int]: ...
@property
def absolute_schema_path(self) -> Sequence[str]: ...
@property
Expand Down

0 comments on commit 83a515b

Please sign in to comment.