Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ _OrderedChainMap
Class
_OrderedChainMap
Lib/unittest/case.py:366–373 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
364
365
366
class
_OrderedChainMap(collections.ChainMap):
367
def
__iter__(self):
368
seen = set()
369
for
mapping in self.maps:
370
for
k in mapping:
371
if
k not in seen:
372
seen.add(k)
373
yield
k
374
375
376
class
TestCase(object):
Callers
1
subTest
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected