MCPcopy Create free account
hub / github.com/ZeroIntensity/pointers.py / __setitem__

Method __setitem__

src/pointers/calloc.py:105–107  ·  view source on GitHub ↗
(self, index: int, value: T)

Source from the content-addressed store, hash-verified

103 return self._get_chunk_at(index)
104
105 def __setitem__(self, index: int, value: T) -> None:
106 chunk = self._get_chunk_at(index)
107 chunk <<= value
108
109 @property
110 def freed(self) -> bool:

Callers

nothing calls this directly

Calls 1

_get_chunk_atMethod · 0.95

Tested by

no test coverage detected