(self)
| 173 | return section |
| 174 | |
| 175 | def _read_sections(self): |
| 176 | while not self._doc.eof(): |
| 177 | data = self._read_to_next_section() |
| 178 | name = data[0].strip() |
| 179 | |
| 180 | if name.startswith('..'): # index section |
| 181 | yield name, data[1:] |
| 182 | elif len(data) < 2: |
| 183 | yield StopIteration |
| 184 | else: |
| 185 | yield name, self._strip(data[2:]) |
| 186 | |
| 187 | def _parse_param_list(self,content): |
| 188 | r = Reader(content) |
no test coverage detected