MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / insert

Method insert

13-protocol-abc/frenchdeck2.py:25–26  ·  view source on GitHub ↗
(self, position, value)

Source from the content-addressed store, hash-verified

23 del self._cards[position]
24
25 def insert(self, position, value): # <3>
26 self._cards.insert(position, value)

Callers 4

add_hookMethod · 0.80
add_pathMethod · 0.80
bottle.pyFile · 0.80
iter_mst_recordsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected