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

Method __or__

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

Source from the content-addressed store, hash-verified

317 return self
318
319 def __or__(self, other):
320 if isinstance(other, _collections_abc.Mapping):
321 c = self.copy()
322 c.update(other)
323 return c
324 return NotImplemented
325
326 def __ror__(self, other):
327 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