Replace the list of values with a single value.
(self, key, value)
| 2566 | self.dict.setdefault(key, []).append(value) |
| 2567 | |
| 2568 | def replace(self, key, value): |
| 2569 | """ Replace the list of values with a single value. """ |
| 2570 | self.dict[key] = [value] |
| 2571 | |
| 2572 | def getall(self, key): |
| 2573 | """ Return a (possibly empty) list of values for a key. """ |
no outgoing calls