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

Method __setitem__

Lib/test/mapping_tests.py:472–473  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

470
471 class baddict2(self.type2test):
472 def __setitem__(self, key, value):
473 raise Exc()
474
475 self.assertRaises(Exc, baddict2.fromkeys, [1])
476

Callers

nothing calls this directly

Calls 1

ExcClass · 0.70

Tested by

no test coverage detected