MCPcopy 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
21if __name__ == '__main__':
22 items = SortedItems([5, 1, 3])

Callers 12

dedupeFunction · 0.80
dedupeFunction · 0.80
example1.pyFile · 0.80
handle_starttagMethod · 0.80
find_moduleMethod · 0.80
find_robotsFunction · 0.80
find_robotsFunction · 0.80
attachMethod · 0.80
attachMethod · 0.80
rpcclient.pyFile · 0.80
jsonrpclient.pyFile · 0.80
visit_NameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected