Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz/python-cookbook
/ add
Method
add
src/8/implementing_custom_containers/example1.py:18–19 ·
view source on GitHub ↗
(self, item)
Source
from the content-addressed store, hash-verified
16
17
# Method for adding an item in the right location
18
def
add(self, item):
19
bisect.insort(self._items, item)
20
21
if
__name__ ==
'__main__'
:
22
items = SortedItems([5, 1, 3])
Callers
12
dedupe
Function · 0.80
dedupe
Function · 0.80
example1.py
File · 0.80
handle_starttag
Method · 0.80
find_module
Method · 0.80
find_robots
Function · 0.80
find_robots
Function · 0.80
attach
Method · 0.80
attach
Method · 0.80
rpcclient.py
File · 0.80
jsonrpclient.py
File · 0.80
visit_Name
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected