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

Method __ror__

Lib/weakref.py:268–274  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

266 return NotImplemented
267
268 def __ror__(self, other):
269 if isinstance(other, _collections_abc.Mapping):
270 c = self.__class__()
271 c.update(other)
272 c.update(self)
273 return c
274 return NotImplemented
275
276
277class KeyedRef(ref):

Callers

nothing calls this directly

Calls 2

__class__Method · 0.45
updateMethod · 0.45

Tested by

no test coverage detected