MCPcopy
hub / github.com/django/django / appendlist

Method appendlist

django/utils/datastructures.py:175–177  ·  view source on GitHub ↗

Append an item to the internal list associated with key.

(self, key, value)

Source from the content-addressed store, hash-verified

173 return self._getlist(key)
174
175 def appendlist(self, key, value):
176 """Append an item to the internal list associated with key."""
177 self.setlistdefault(key).append(value)
178
179 def items(self):
180 """

Callers 2

_populateMethod · 0.95
test_appendlistMethod · 0.95

Calls 2

setlistdefaultMethod · 0.95
appendMethod · 0.45

Tested by 1

test_appendlistMethod · 0.76