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

Class _OrderedChainMap

Lib/unittest/case.py:359–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357
358
359class _OrderedChainMap(collections.ChainMap):
360 def __iter__(self):
361 seen = set()
362 for mapping in self.maps:
363 for k in mapping:
364 if k not in seen:
365 seen.add(k)
366 yield k
367
368
369class TestCase(object):

Callers 1

subTestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…