MCPcopy Index your code
hub / github.com/python/cpython / __or__

Method __or__

Lib/_collections_abc.py:620–624  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

618 return True
619
620 def __or__(self, other):
621 if not isinstance(other, Iterable):
622 return NotImplemented
623 chain = (e for s in (self, other) for e in s)
624 return self._from_iterable(chain)
625
626 __ror__ = __or__
627

Callers

nothing calls this directly

Calls 1

_from_iterableMethod · 0.95

Tested by

no test coverage detected