def _subspans(self, _type: str) -> Generator[int, None, None]:
ss, se = self._span<EOL>spans = self._type_to_spans[_type]<EOL>b = bisect(spans, [ss])<EOL>for span in spans[b:bisect(spans, [se], b)]:<EOL><INDENT>if span[<NUM_LIT:1>] <= se:<EOL><INDENT>yield span<EOL><DEDENT><DEDENT>
Yield all the sub-span indices excluding self._span.