MCPcopy Index your code
hub / github.com/RustPython/RustPython / __ror__

Method __ror__

Lib/collections/_defaultdict.py:50–56  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

48 return new
49
50 def __ror__(self, other):
51 if not isinstance(other, dict):
52 return NotImplemented
53
54 new = defaultdict(self.default_factory, other)
55 new.update(self)
56 return new
57
58defaultdict.__module__ = 'collections'

Callers

nothing calls this directly

Calls 3

isinstanceFunction · 0.85
defaultdictClass · 0.70
updateMethod · 0.45

Tested by

no test coverage detected