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

Method __ior__

Lib/collections/__init__.py:1148–1150  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

1146 self.maps[0].clear()
1147
1148 def __ior__(self, other):
1149 self.maps[0].update(other)
1150 return self
1151
1152 def __or__(self, other):
1153 if not isinstance(other, _collections_abc.Mapping):

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected