Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ insert
Method
insert
Lib/collections/__init__.py:1363–1364 ·
view source on GitHub ↗
(self, i, item)
Source
from the content-addressed store, hash-verified
1361
self.data.append(item)
1362
1363
def
insert(self, i, item):
1364
self.data.insert(i, item)
1365
1366
def
pop(self, i=-1):
1367
return
self.data.pop(i)
Callers
3
test_recursion
Method · 0.95
_num_version
Function · 0.45
_num_version
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_recursion
Method · 0.76