Replace the list of values with a single value.
(self, key, value)
| 1879 | self.dict.setdefault(key, []).append(value) |
| 1880 | |
| 1881 | def replace(self, key, value): |
| 1882 | ''' Replace the list of values with a single value. ''' |
| 1883 | self.dict[key] = [value] |
| 1884 | |
| 1885 | def getall(self, key): |
| 1886 | ''' Return a (possibly empty) list of values for a key. ''' |
no outgoing calls
no test coverage detected