Update spacy/tokens/span_group.pyx

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
This commit is contained in:
Raphael Mitsch 2022-12-21 13:05:36 +01:00 committed by GitHub
parent 53e83abc8f
commit 58adea71df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -180,7 +180,6 @@ cdef class SpanGroup:
raise ValueError(Errors.E855.format(obj="span"))
self.push_back(span.c)
def extend(self, spans_or_span_group: Union[SpanGroup, Iterable["Span"]]):
"""Add multiple spans or contents of another SpanGroup to the group.
All spans must refer to the same Doc object as the span group.