(self)
| 296 | self['Extended Summary'] = self._read_to_next_section() |
| 297 | |
| 298 | def _parse(self): |
| 299 | self._doc.reset() |
| 300 | self._parse_summary() |
| 301 | |
| 302 | for (section,content) in self._read_sections(): |
| 303 | if not section.startswith('..'): |
| 304 | section = ' '.join([s.capitalize() for s in section.split(' ')]) |
| 305 | if section in ('Parameters', 'Returns', 'Raises', 'Warns', |
| 306 | 'Other Parameters', 'Attributes', 'Methods'): |
| 307 | self[section] = self._parse_param_list(content) |
| 308 | elif section.startswith('.. index::'): |
| 309 | self['index'] = self._parse_index(section, content) |
| 310 | elif section == 'See Also': |
| 311 | self['See Also'] = self._parse_see_also(content) |
| 312 | else: |
| 313 | self[section] = content |
| 314 | |
| 315 | # string conversion routines |
| 316 |
no test coverage detected