Replace the list of values with a single value.
(self, key, value)
| 2168 | self.dict.setdefault(key, []).append(value) |
| 2169 | |
| 2170 | def replace(self, key, value): |
| 2171 | """ Replace the list of values with a single value. """ |
| 2172 | self.dict[key] = [value] |
| 2173 | |
| 2174 | def getall(self, key): |
| 2175 | """ Return a (possibly empty) list of values for a key. """ |
no outgoing calls