MCPcopy Index your code
hub / github.com/python/cpython / __setitem__

Method __setitem__

Lib/test/test_richcmp.py:45–46  ·  view source on GitHub ↗
(self, i, v)

Source from the content-addressed store, hash-verified

43 return self.data[i]
44
45 def __setitem__(self, i, v):
46 self.data[i] = v
47
48 __hash__ = None # Vectors cannot be hashed
49

Callers 3

test_set_itemMethod · 0.45
test_setdelitemMethod · 0.45
test_as_dictMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected