diff --git a/spacy/tokens/span.pyi b/spacy/tokens/span.pyi index 0cf91f950..b982eb810 100644 --- a/spacy/tokens/span.pyi +++ b/spacy/tokens/span.pyi @@ -53,12 +53,12 @@ class Span: kb_id: Union[str, int] = ..., span_id: Union[str, int] = ..., ) -> None: ... - def __lt__(self, other: Span) -> bool: ... - def __le__(self, other: Span) -> bool: ... - def __eq__(self, other: Span) -> bool: ... - def __ne__(self, other: Span) -> bool: ... - def __gt__(self, other: Span) -> bool: ... - def __ge__(self, other: Span) -> bool: ... + def __lt__(self, other: Any) -> bool: ... + def __le__(self, other: Any) -> bool: ... + def __eq__(self, other: Any) -> bool: ... + def __ne__(self, other: Any) -> bool: ... + def __gt__(self, other: Any) -> bool: ... + def __ge__(self, other: Any) -> bool: ... def __hash__(self) -> int: ... def __len__(self) -> int: ... def __repr__(self) -> str: ...