Remove a file section.
(self, section)
| 1007 | return existed |
| 1008 | |
| 1009 | def remove_section(self, section): |
| 1010 | """Remove a file section.""" |
| 1011 | existed = section in self._sections |
| 1012 | if existed: |
| 1013 | del self._sections[section] |
| 1014 | del self._proxies[section] |
| 1015 | return existed |
| 1016 | |
| 1017 | def __getitem__(self, key): |
| 1018 | if key != self.default_section and not self.has_section(key): |
no outgoing calls