Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ keys
Method
keys
Lib/test/test_dict.py:217–218 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
215
def
__init__(self):
216
self.d = {1:1, 2:2, 3:3}
217
def
keys(self):
218
return
self.d.keys()
219
def
__getitem__(self, i):
220
return
self.d[i]
221
d.clear()
Callers
8
test_keys
Method · 0.45
test_views_mapping
Method · 0.45
test_keys_contained
Method · 0.45
test_dictview_set_operations_on_keys
Method · 0.45
test_dictview_mixed_set_operations
Method · 0.45
test_free_after_iterating
Method · 0.45
test_reverse_iterator_for_empty_dict
Method · 0.45
keys
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected