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

Class SubclassRor

Lib/test/test_collections.py:295–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 pass
294
295 class SubclassRor(ChainMap):
296 def __ror__(self, other):
297 return super().__ror__(other)
298
299 tmp = ChainMap() | ChainMap()
300 self.assertIs(type(tmp), ChainMap)

Callers 1

test_union_operatorsMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_union_operatorsMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…