MCPcopy Create free account
hub / github.com/BeeBombshell/Python-DSA / __setitem__

Method __setitem__

DSA/deque.py:65–66  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

63 return self.buf[self.__index(key)]
64
65 def __setitem__(self, key, value):
66 self.buf[self.__index(key)] = value
67
68 def __str__(self):
69 return "Deque({0})".format(str(list(self)))

Callers

nothing calls this directly

Calls 1

__indexMethod · 0.95

Tested by

no test coverage detected