Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ items
Method
items
Lib/test/test_dict.py:1429–1430 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1427
__iter__ = keys
1428
1429
def
items(self):
1430
return
reversed(dict.items(self))
1431
1432
d = CustomReversedDict(pairs)
1433
self.assertEqual(pairs[::-1], list(dict(d).items()))
Callers
15
test_items
Method · 0.45
test_views_mapping
Method · 0.45
test_mutating_iteration_delete_over_items
Method · 0.45
test_keys_contained
Method · 0.45
test_errors_in_view_containment_check
Method · 0.45
test_dictview_set_operations_on_items
Method · 0.45
test_items_symmetric_difference
Method · 0.45
test_dictview_mixed_set_operations
Method · 0.45
test_itemiterator_pickling
Method · 0.45
test_reverseitemiterator_pickling
Method · 0.45
test_free_after_iterating
Method · 0.45
test_dictitems_contains_use_after_free
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected