From 15ea15723ea953dc9303efaf715801c9c45c2d7b Mon Sep 17 00:00:00 2001 From: David Robertson Date: Sun, 29 May 2022 15:34:27 +0100 Subject: [PATCH] Remove redundant `Union`. Not used to the `x|y` syntax --- stubs/jsonschema/jsonschema/exceptions.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/jsonschema/jsonschema/exceptions.pyi b/stubs/jsonschema/jsonschema/exceptions.pyi index e21313c8b593..fb08d71f63c5 100644 --- a/stubs/jsonschema/jsonschema/exceptions.pyi +++ b/stubs/jsonschema/jsonschema/exceptions.pyi @@ -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