Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ insert
Method
insert
Lib/test/test_bisect.py:321–322 ·
view source on GitHub ↗
(self, index, item)
Source
from the content-addressed store, hash-verified
319
class
List(list):
320
data = []
321
def
insert(self, index, item):
322
self.data.insert(index, item)
323
324
lst = List()
325
self.module.insort_left(lst, 10)
Callers
nothing calls this directly
Calls
1
insert
Method · 0.45
Tested by
no test coverage detected