MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / __or__

Method __or__

src/licensedcode/spans.py:140–141  ·  view source on GitHub ↗
(self, *others)

Source from the content-addressed store, hash-verified

138 return Span(self._set.intersection(*[o._set for o in others]))
139
140 def __or__(self, *others):
141 return Span(self._set.union(*[o._set for o in others]))
142
143 def union(self, *others):
144 """

Callers 1

unionMethod · 0.95

Calls 2

SpanClass · 0.85
unionMethod · 0.80

Tested by

no test coverage detected