Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ mutate
Method
mutate
Lib/test/test_dict.py:1230–1231 ·
view source on GitHub ↗
(d)
Source
from the content-addressed store, hash-verified
1228
def
test_reentrant_insertion(self):
1229
# Reentrant insertion shouldn't crash (see issue #22653)
1230
def
mutate(d):
1231
d[
'b'
] = 5
1232
self.check_reentrant_insertion(mutate)
1233
1234
def
mutate(d):
Callers
1
test_immutable_during_iteration
Method · 0.45
Calls
3
update
Method · 0.45
clear
Method · 0.45
popitem
Method · 0.45
Tested by
no test coverage detected