(self)
| 203 | return {key.decode(self.encoding): None for _, key, value in self._list}.keys() |
| 204 | |
| 205 | def values(self) -> typing.ValuesView[str]: |
| 206 | values_dict: dict[str, str] = {} |
| 207 | for _, key, value in self._list: |
| 208 | str_key = key.decode(self.encoding) |
| 209 | str_value = value.decode(self.encoding) |
| 210 | if str_key in values_dict: |
| 211 | values_dict[str_key] += f", {str_value}" |
| 212 | else: |
| 213 | values_dict[str_key] = str_value |
| 214 | return values_dict.values() |
| 215 | |
| 216 | def items(self) -> typing.ItemsView[str, str]: |
| 217 | """ |