MCPcopy
hub / github.com/django/django / __setitem__

Method __setitem__

django/utils/datastructures.py:94–95  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

92 return []
93
94 def __setitem__(self, key, value):
95 super().__setitem__(key, [value])
96
97 def __copy__(self):
98 return self.__class__([(k, v[:]) for k, v in self.lists()])

Callers 2

__deepcopy__Method · 0.45
setlistMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected