Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ items
Method
items
Lib/test/test_ordered_dict.py:120–122 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
118
calls.append(
'keys'
)
119
return
()
120
def
items(self):
121
calls.append(
'items'
)
122
return
()
123
124
self.OrderedDict(Spam())
125
self.assertEqual(calls, [
'keys'
])
Callers
7
test_init
Method · 0.45
test_fromkeys
Method · 0.45
check
Method · 0.45
test_views
Method · 0.45
test_override_update
Method · 0.45
test_free_after_iterating
Method · 0.45
test_ordered_dict_items_result_gc
Method · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected