MCPcopy Create free account
hub / github.com/grantjenks/python-sortedcontainers / __ror__

Method __ror__

sortedcontainers/sorteddict.py:312–316  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

310
311
312 def __ror__(self, other):
313 if not isinstance(other, Mapping):
314 return NotImplemented
315 items = chain(other.items(), self.items())
316 return self.__class__(self._key, items)
317
318
319 def __ior__(self, other):

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.95

Tested by

no test coverage detected