MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __or__

Method __or__

tools/python-3.11.9-amd64/Lib/weakref.py:524–529  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

522 return self
523
524 def __or__(self, other):
525 if isinstance(other, _collections_abc.Mapping):
526 c = self.copy()
527 c.update(other)
528 return c
529 return NotImplemented
530
531 def __ror__(self, other):
532 if isinstance(other, _collections_abc.Mapping):

Callers

nothing calls this directly

Calls 2

copyMethod · 0.95
updateMethod · 0.45

Tested by

no test coverage detected