Skip to content

Commit 15ea157

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/jsonschema/jsonschema/exceptions.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)