(self, key)
| 1033 | self.read_dict({key: value}) |
| 1034 | |
| 1035 | def __delitem__(self, key): |
| 1036 | if key == self.default_section: |
| 1037 | raise ValueError("Cannot remove the default section.") |
| 1038 | if not self.has_section(key): |
| 1039 | raise KeyError(key) |
| 1040 | self.remove_section(key) |
| 1041 | |
| 1042 | def __contains__(self, key): |
| 1043 | return key == self.default_section or self.has_section(key) |
nothing calls this directly
no test coverage detected